-
Notifications
You must be signed in to change notification settings - Fork 175
Description
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.
as a test, I just performed the following steps:
- created temp branch at commit f9388f4
- cherry picked commit f51b9ae
- hard reset
master
to the new commit (which removes thevineethtrv/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. 🤔