Re: git pull behavior changed?
Petr Baudis <pasky@suse.cz> writes:
Show 7 quoted lines
> 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'