Re: git pull behavior changed?
- From
Jeff King <peff@peff.net>
- Date
- Apr 22, 2010, 02:10 UTC
- Message-ID
- <20100422021015.GB25093@coredump.intra.peff.net>
- In-Reply-To
- <v2z3abd05a91004211827ua3955912w676d8a3e001ed461@mail.gmail.com>
On Wed, Apr 21, 2010 at 09:27:31PM -0400, Aghiles wrote:
Show 6 quoted lines
> > You may also be interested to know that "git checkout foo" these days > > when you have no "foo" branch will do the equivalent of "git checkout -b > > --track foo origin/foo", which would also do what you want. > > Wouldn't that create/track a remote 'foo' branch ? I have no remote branches > but only local ones so I am always tracking origin/master.
Yes, it would, so I guess it doesn't help you. You should do "git checkout -b foo origin/master", then.
-Peff