Re: git pull behavior changed?

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

 



On Wed, Apr 21, 2010 at 09:27:31PM -0400, Aghiles wrote:

> > You may also be interested to know that "git checkout foo" these days
> > when you have no "foo" branch will do the equivalent of "git checkout -b
> > --track foo origin/foo", which would also do what you want.
> 
> Wouldn't that create/track a remote 'foo' branch ? I have no remote branches
> but only local ones so I am always tracking origin/master.

Yes, it would, so I guess it doesn't help you. You should do "git
checkout -b foo origin/master", then.

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