git/list[1] front-page[2] threads[3] people[4] search[5] about
 

How to get a remote branch

From
AAndy <hoangtu69@yahoo.com>
Date
Sep 30, 2010, 04:13 UTC
Message-ID
<1285819987771-5586541.post@n2.nabble.com>
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.
Next: Mathias Lafeldt
Message 1 of 3 in “How to get a remote branch”
  1. AndySep 30, 2010
  2. Mathias LafeldtSep 30, 2010
  3. AndySep 30, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.