From: Jan Krüger Date: Sat, 14 Feb 2009 01:51:15 GMT Subject: Re: [PATCH] Documentation: pruning recipe for destructive filter-branch Message-ID: <20090214025115.615119bf@perceptron> In-Reply-To: <1234545279-23153-1-git-send-email-trast@student.ethz.ch> Hi, On Fri, 13 Feb 2009 18:14:39 +0100, Thomas Rast wrote: > Add a section about how to shrink a repository's size after running > git-filter-branch to remove large blobs from history. Good idea. > +* Expire all reflogs with `git reflog expire \--expire=now \--all`. > + > +* Repack to remove packed objects with `git repack -ad`. > + > +* Prune unpacked unreferenced objects with `git prune \--expire=now`. Is the --expire=now actually needed for prune? The way I read it git-prune(1), it defaults to pruning everything anyway. -Jan