bfg-repo-cleaner
bfg-repo-cleaner copied to clipboard
git push has still the same size.
Our co-worker accidentally pushed "node_modules" in the repo. However later, I deleted (git rm -r --cached node_modules
) and ignored the file but there was no change in the gitlab storage maybe because of the history.
I ran
-
bfg --delete-folders node_modules myrepo.git
-
git reflog expire --expire=now --all && git gc --prune=now --aggressive
-
git push
But no change in gitlab.com (still the same storage size). Only the changes, I found were in my local .git/objects
folder (decreased size).
@rajeshisnepali try git repack -ad
https://github.com/rtyley/bfg-repo-cleaner/issues/448