From: Junio C Hamano Date: Thu, 22 Apr 2010 08:16:10 GMT Subject: Re: git pull behavior changed? Message-ID: <7vy6gf52d1.fsf@alter.siamese.dyndns.org> In-Reply-To: <20100422081055.GG3563@machine.or.cz> Petr Baudis writes: > On Wed, Apr 21, 2010 at 07:57:17PM -0400, Aghiles wrote: >> On Wed, Apr 21, 2010, Randal L. Schwartz wrote: >> >    git checkout -b test origin/test > ... > 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? Only if you don't count Dscho's DWIM. $ git checkout tr/word-diff Branch tr/word-diff set up to track remote branch tr/word-diff from origin. Switched to a new branch 'tr/word-diff'