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
bfg fails to strip objects #62
Comments
btw:
tries to remove the same object over and over, if executed multiple times. |
Are you sure that you've followed the BFG usage instructions? In particular, this line seems to be missing in the report you made earlier to the Git mailing list:
The Git reflog retains references to 'old' branch positions, so unless you clear the reflog, Thanks for providing a link to your repo - I ran the BFG on a copy locally, and
As you can see, the pack size has been reduced by 4MB. I've pushed the results up to https://github.com/bfg-repo-cleaner-demos/stallone - no problems (or *.o files) that I could see. |
doh :) I just forgot this step. Thanks |
Although documented in http://rtyley.github.io/bfg-repo-cleaner/#usage , users sometime miss that instruction, eg: #62 Note that '&&' works on Windows as well as BASH: http://stackoverflow.com/a/8055430/438886 See also 85d392a7 for some notes on why we need to clear the reflog.
Although documented in http://rtyley.github.io/bfg-repo-cleaner/#usage , users sometime miss that instruction, eg: rtyley/bfg-repo-cleaner#62 Note that '&&' works on Windows as well as BASH: http://stackoverflow.com/a/8055430/438886 See also rtyley/bfg-repo-cleaner@85d392a7 for some notes on why we need to clear the reflog.
Trying to cleanup this repo https://bitbucket.org/cmb_fu/stallone.git
eg. bfg -D *.o
after re investigating the biggest blobs, the same ids are still present and are still referenced by something, because git gc --aggressive --prune=now does not remove those blobs.
The text was updated successfully, but these errors were encountered: