All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy <hoangtu69@yahoo.com>
To: git@vger.kernel.org
Subject: How to get a remote branch
Date: Wed, 29 Sep 2010 21:13:07 -0700 (PDT)	[thread overview]
Message-ID: <1285819987771-5586541.post@n2.nabble.com> (raw)


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.

             reply	other threads:[~2010-09-30  4:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30  4:13 Andy [this message]
2010-09-30  7:48 ` How to get a remote branch Mathias Lafeldt
2010-09-30 14:42   ` Andy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1285819987771-5586541.post@n2.nabble.com \
    --to=hoangtu69@yahoo.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.