Re: mirror git repos: rsync vs. --mirror
- From
Sitaram Chamarty <sitaramc@gmail.com>
- Date
- Mar 31, 2010, 01:44 UTC
- Message-ID
- <t2r2e24e5b91003301844i6ea98c92j6dba55d916c841f5@mail.gmail.com>
- In-Reply-To
- <3a75d1efc7cf125d84b8e02b7dabf7aa@212.159.54.234>
On Wed, Mar 31, 2010 at 3:30 AM, Julian Phillips <julian@quantumfyre.co.uk> wrote:
> On Tue, 30 Mar 2010 20:54:09 +0000, "Robin H. Johnson" > <robbat2@gentoo.org>
>> 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