Re: How to get a remote branch
- From
Mathias Lafeldt <misfire@debugon.org>
- Date
- Sep 30, 2010, 07:48 UTC
- Message-ID
- <4CA440E4.3080203@debugon.org>
- In-Reply-To
- <1285819987771-5586541.post@n2.nabble.com>
Andy wrote:
Show 13 quoted lines
> 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