You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cloned this repo the other day to look at things more closely, and the size of the download surprised me somewhat... Git downloaded 25MB-odd of objects, yet the actual project files after the download (excluding .git folder) was only 867KB.
digging a bit deeper, the merge from vineethtrv/marketing into master, and specifically the video files it contains, seems to be where this size jump is coming from.
hard reset master to the new commit (which removes the vineethtrv/marketing branch entirely)
execute git reflog expire --all --expire=now
execute git gc --prune=now --aggressive
after this, the entire repository dropped to only 1.44MB, .git folder included...
@vineethtrv, is there any chance you might be able to do this on your side and force push to remove these objects from GitHub as well? I'm just thinking it might be better to catch this now, before the project grows too much further and this becomes more difficult to do. 🤔
The text was updated successfully, but these errors were encountered:
I cloned this repo the other day to look at things more closely, and the size of the download surprised me somewhat... Git downloaded 25MB-odd of objects, yet the actual project files after the download (excluding
.git
folder) was only 867KB.digging a bit deeper, the merge from
vineethtrv/marketing
intomaster
, and specifically the video files it contains, seems to be where this size jump is coming from.as a test, I just performed the following steps:
master
to the new commit (which removes thevineethtrv/marketing
branch entirely)git reflog expire --all --expire=now
git gc --prune=now --aggressive
after this, the entire repository dropped to only 1.44MB,
.git
folder included...@vineethtrv, is there any chance you might be able to do this on your side and force push to remove these objects from GitHub as well? I'm just thinking it might be better to catch this now, before the project grows too much further and this becomes more difficult to do. 🤔
The text was updated successfully, but these errors were encountered: