From: Peter Harris Date: Thu, 16 Oct 2008 19:20:41 GMT Subject: Re: Working with remotes; cloning remote references Message-ID: In-Reply-To: <48F7852F.109@xiplink.com> On Thu, Oct 16, 2008 at 2:17 PM, Marc Branchaud wrote: > From this point of view (and please correct me if I'm wrong), it would be > good if "git clone" had an option to include a repo's remote references in > the clone. The clone's origin reference would point to the original repo as > usual, but all the other remotes would be in the clone. "git clone" doesn't have this option, but you can turn it on immediately after with something similar to: git config --add remote.origin.fetch +refs/remotes/*:refs/remotes/* (which I use for fanning-out my git-svn repos) See "git help fetch" for further documentation. Peter Harris