-
-
Notifications
You must be signed in to change notification settings - Fork 724
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
Investigate big git folder #356
Comments
that's the flaw of git, git record every changes with lead up to big file |
im sure no one want it to be squash merged. git LFS perhaps? https://git-lfs.com/ |
If anyone comes across this in the future, we solved it with something similar to: java -jar ~/Software/bfg/bfg-1.14.0.jar --delete-folders .yarn --no-blob-protection --strip-biggest-blobs 10
git reflog expire --expire=now --all && git gc --prune=now --aggressive
git push -f Then removed all the other branches on the repo. See bfg-repo-cleaner. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When cloning the git repository with
git clone
, you can notice it is very big. (Over 470mb !)I've found that the big file is a
.pack
file inside of.git/objects/pack
.The text was updated successfully, but these errors were encountered: