Re: git pull behavior changed?
- From
Petr Baudis <pasky@suse.cz>
- Date
- Apr 22, 2010, 08:10 UTC
- Message-ID
- <20100422081055.GG3563@machine.or.cz>
- In-Reply-To
- <u2n3abd05a91004211657v3dcdaf40j3608f3d8f59c4c1b@mail.gmail.com>
On Wed, Apr 21, 2010 at 07:57:17PM -0400, Aghiles wrote:
Show 9 quoted lines
> On Wed, Apr 21, 2010, Randal L. Schwartz wrote: > > git checkout -b test origin/test > > ... > > git pull > > > > And it seems to work. It even announces that my test is tracking origin/test. > > Yes that syntax works too (although I use origin/master since I am tracking > the main branch and not the remote "test" branch). Thank you very much.
So, do I understand it right that there is still no canonical syntax to check out local branch tracking a remote one of the same name, without spelling out the branch name twice?
-- Petr "Pasky" Baudis http://pasky.or.cz/ | "Ars longa, vita brevis." -- Hippocrates