From: Johannes Schindelin Date: Fri, 02 Mar 2007 15:47:39 GMT Subject: Re: Many different remote branch sources Message-ID: In-Reply-To: <81b0412b0703020253i3e1478a9pf505c0d95442536c@mail.gmail.com> Hi, On Fri, 2 Mar 2007, Alex Riesen wrote: > The following does not seem to work: > > [remote "dev1"] > url = ... > fetch = ... > [remote "dev2"] > url = ... > fetch = ... > > [branch "integration"] > remote = dev1 > merge = refs/heads/topic1 > > [branch "integration"] > remote = dev2 > merge = refs/heads/topic2 > > How can I specify that a branch has more then one > remote branch it can be merged with? The branch. information is purely for determining what you want to do when saying "git pull" (without other arguments). In your case, I'd strongly advise against using this construct, since you don't want to merge with dev1 and dev2 _at the same time_. Rather, add a "fetch = refs/heads/topic1" at the _top_ of the remotes.dev1 section, and say "git pull dev1" when you want to pull from dev1. Ciao, Dscho