Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special Request: can you perhaps clean this repo history..? #5

Closed
ZaLiTHkA opened this issue Nov 19, 2021 · 0 comments
Closed

Special Request: can you perhaps clean this repo history..? #5

ZaLiTHkA opened this issue Nov 19, 2021 · 0 comments

Comments

@ZaLiTHkA
Copy link

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 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. 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants