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

Re: "Not currently on any branch"

From
Clemens Buchacher <drizzd@aon.at>
Date
Oct 4, 2009, 07:22 UTC
Message-ID
<20091004072229.GA14142@localhost>
In-Reply-To
<loom.20091002T215942-663@post.gmane.org>
On Fri, Oct 02, 2009 at 08:08:52PM +0000, Tim wrote:
> I have some code in a git repo that is "Not currently on any branch". Now,
> there's the master branch and another branch 'ui-integration' that I'm
> using in this project. I don't know how the project got into this headless
> state, but I need to be using the 'ui-integration' branch. 

It can happen either by explicitly detaching HEAD using "git checkout <commit>", or if you used rebase and it is still in progress.

Clemens
Previous: Sean Estabrooks
Message 5 of 5 in “"Not currently on any branch"”
  1. TimOct 2, 2009
  2. Steven NoonanOct 2, 2009
  3. Alex RiesenOct 2, 2009
  4. Sean EstabrooksOct 2, 2009
  5. Clemens BuchacherOct 4, 2009

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.