From: Pauli V. <pa...@ik...> - 2011-01-26 11:43:27
|
Wed, 26 Jan 2011 20:35:03 +0900, Jae-Joon Lee wrote: > On Wed, Jan 26, 2011 at 7:28 PM, Pauli Virtanen > <pa...@ik...> wrote: >> The complete magic stanza is: >> >> git reflog expire --expire=0 --all >> git prune >> git repack -f -a -d >> git gc --prune=0 > > Wonderful! > With this, I get about 40 MB! Some additional compression can be obtained by passing also suitable values for the --window and --depth flags for git repack. http://metalinguist.wordpress.com/2007/12/06/the-woes-of-git-gc-aggressive-and-how-git-deltas-work/ Pauli |