From: Robin H. Johnson Date: Wed, 31 Mar 2010 03:05:53 GMT Subject: Re: mirror git repos: rsync vs. --mirror Message-ID: In-Reply-To: On Wed, Mar 31, 2010 at 07:14:46AM +0530, Sitaram Chamarty wrote: > On Wed, Mar 31, 2010 at 3:30 AM, Julian Phillips > wrote: > > On Tue, 30 Mar 2010 20:54:09 +0000, "Robin H. Johnson" > > > > >> git clone --mirror && git fetch: > > >> Caveats: > >> - Branches and tags deleted in master persist in slaves :-( > > > I don't think that fetch can do it, but "git remote prune origin" will. > as of 1.7 at least, fetch has --prune, and I tested it yesterday when > someone (same person?) asked this on #git Wasn't me asking, but thanks, that helps lots! Looks like it was added for v1.6.6. -- Robin Hugh Johnson Gentoo Linux: Developer, Trustee & Infrastructure Lead E-Mail : robbat2@gentoo.org GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85