From: Martin Langhoff Date: Fri, 01 Jun 2007 03:51:26 GMT Subject: Re: Fetch from remote A, push to remote B Message-ID: <46a038f90705312051l663bc522r9c5c51bc803c2bc8@mail.gmail.com> In-Reply-To: <46a038f90705311852n136a2bfbwa943a65a43257a6e@mail.gmail.com> To finish off the soliloquy... effective mirroring with git git-clone --bare git://host/repo.git mirror.git git --git-dir=mirror.git config remote.origin.url git://host/repo.git git --git-dir=mirror.git config remote.origin.fetch '+refs/heads/*:refs/heads/*' and now, on cron... git --git-dir=mirror.git fetch -u git --git-dir=mirror.git remote prune origin (Thanks to Shawn Pearce for helping me figure out why it wasn't working for me!) cheers martin