Re: git-branch and git-remotes confusion

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

 



On Wed, Apr 11, 2007 at 12:05:17AM +1200, Martin Langhoff wrote:

>   git-clone http://git.catalyst.net.nz/git/moodle-r2.git
>   git-branch --track origin/mdl18-olpc my18-olpc

Your arguments to git-branch are backwards. It should be:

  git-branch --track my18-olpc origin/mdl18-olpc

Also note that --track didn't show up until 1.5.1.  Other than that, it
should do what you expect (check out your .git/config before and after
to see the impact of --track).

-Peff
-
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]