* How to get a remote branch
@ 2010-09-30 4:13 Andy
2010-09-30 7:48 ` Mathias Lafeldt
0 siblings, 1 reply; 3+ messages in thread
From: Andy @ 2010-09-30 4:13 UTC (permalink / raw)
To: git
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?
--
View this message in context: http://git.661346.n2.nabble.com/How-to-get-a-remote-branch-tp5586541p5586541.html
Sent from the git mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to get a remote branch
2010-09-30 4:13 How to get a remote branch Andy
@ 2010-09-30 7:48 ` Mathias Lafeldt
2010-09-30 14:42 ` Andy
0 siblings, 1 reply; 3+ messages in thread
From: Mathias Lafeldt @ 2010-09-30 7:48 UTC (permalink / raw)
To: Andy; +Cc: git
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to get a remote branch
2010-09-30 7:48 ` Mathias Lafeldt
@ 2010-09-30 14:42 ` Andy
0 siblings, 0 replies; 3+ messages in thread
From: Andy @ 2010-09-30 14:42 UTC (permalink / raw)
To: git
Thanks. It worked.
--
View this message in context: http://git.661346.n2.nabble.com/How-to-get-a-remote-branch-tp5586541p5588030.html
Sent from the git mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-09-30 14:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-30 4:13 How to get a remote branch Andy
2010-09-30 7:48 ` Mathias Lafeldt
2010-09-30 14:42 ` Andy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).