From: Linus Torvalds Date: Wed, 27 Dec 2006 07:12:57 GMT Subject: Re: [PATCH] Create 'git gc' to perform common maintenance operations. Message-ID: In-Reply-To: <20061227070541.GA22982@spearce.org> On Wed, 27 Dec 2006, Shawn O. Pearce wrote: > > Junio asked for a 'git gc' utility which users can execute on a > regular basis to perform basic repository actions such as: > > * prune > * repack -a -d You should do "repack -a -d" _before_ pruning, because then pruning will be much more efficient (thanks to a more efficient repo format). Linus