From: Matthieu Moy Date: Thu, 24 Sep 2009 16:00:07 GMT Subject: Re: Per-remote tracking branch Message-ID: In-Reply-To: <20090924113537.GA14113@atjola.homenet> Björn Steinbrink writes: >> Setup "foo" so that it fetches "master" only, i.e. have >> remote.foo.fetch = refs/heads/master:refs/remotes/foo/master >> >> You get that setup with: git remote add -t master foo git://... >> >> Then there's only one possible choice for "git pull", and it will take >> that. > > Ah, crap, spoke too soon. That works only when branch..merge is > not set. Though that's not that much of a problem. When your "primary" > remote (the one set for branch..remote) also fetches just a single > branch, "git pull" will still work, even if branch..merge is not > set. Yes, that's it. Thanks for your anwser, it works. -- Matthieu Moy http://www-verimag.imag.fr/~moy/