From: Jeff King Date: Sun, 05 Aug 2007 11:02:00 GMT Subject: Re: Terminology question about remote branches. Message-ID: <20070805110200.GA18083@coredump.intra.peff.net> In-Reply-To: <85172807-B7EB-47DD-813E-FAF5894E1190@zib.de> On Sun, Aug 05, 2007 at 12:56:49PM +0200, Steffen Prohaska wrote: > beyond my imagination that I could have a local following/automerging > branch that is directly referring to a branch in a remote repo, without > have a remote-tracking branch. > > How could I create such a setup in the first place? > > git branch --track something origin/something > git checkout --track -b something origin/something > > are obvious, but what to say if I don't have origin/something? I believe the --track setup uses the tracking branches to figure out which remote/branch combo to track. To do it without a remote tracking branch, you would have to add the lines to your .git/config manually. -Peff