Re: git pull behavior changed?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Petr Baudis <pasky@xxxxxxx> 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'
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]