Re: How to get a remote branch

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

 



Andy wrote:
> Here's my directory structure
> 
> origin -> HEAD
>          -> master
>          -> develop
> 
> Right now if I issue command
> 
> git clone https://abc.com/xzy.git and do git branch 
> 
> then I have an asterisk next to master.
> 
> I want to get branch develop, what command should I issue please?

$ git checkout -b develop origin/develop

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