Re: Terminology question about remote branches.
- From
Jeff King <peff@peff.net>
- Date
- Aug 5, 2007, 11:02 UTC
- 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:
Show 10 quoted lines
> 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