Re: Trying to use git-filter-branch to compress history by removing large, obsolete binary files
Elijah Newren, Sun, Oct 07, 2007 23:23:59 +0200:
> # Try to recompress and clean up, then check the new size
> git gc --aggressive --prune
> du -ks . # 10580K !?!?!?
> du -ks .git # 10564K
git-filter-branch makes a backup of your original references:
$ git filter-branch --help
...
Always verify that the rewritten version is correct: The original refs,
if different from the rewritten ones, will be stored in the namespace
refs/original/.
...These will keep your big files in repository.