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

remote branch checkout issue, why its *(no branch)

From
SGSudipta GHOSH <sudipta.in@gmail.com>
Date
Nov 28, 2008, 22:15 UTC
Message-ID
<9e6474ae0811281415n7b4596afq7b3ce25816d9a639@mail.gmail.com>
Hi,
In Our git repository there are few branches like

master orgin/B1 origin/B2

After doing #git checkout orgin/B1 I found that my current branch is *(no branch)

#git branch *(no branch) master

Why its showing *(no branch) why not origin/B1

How I can checkout orgin/B1 and after that my current branch will be orgin/B1 not the *(no branch)

Regards, -SG

Next: Jakub Narebski
Message 1 of 3 in “remote branch checkout issue, why its *(no branch)”
  1. Sudipta GHOSHNov 28, 2008
  2. Jakub NarebskiNov 28, 2008
  3. Björn SteinbrinkNov 28, 2008

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.