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

why "Not currently on any branch" but no "HEAD detached"?

From
Robert P. J. Day <rpjday@crashcourse.ca>
Date
Mar 30, 2020, 16:16 UTC
Message-ID
<alpine.LFD.2.21.2003301211330.14880@localhost.localdomain>
  probably a silly question (and probably related to using an old
version of git), but on a ubuntu 16.04.6 dev system, i used google's
"repo" tool to check out a bunch of git repos, and when i pop into
those git repos and run "git status", i see:
  # Not currently on any branch
  nothing to commit, working tree clean

i'm used to seeing "HEAD detached at <something>" ... is the above just an older style of the same message, given that this system uses git 2.9.2? or is there something else going on here?

rday
-- 
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                         http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
Next: Junio C Hamano
Message 1 of 3 in “why "Not currently on any branch" but no "HEAD detached"?”
  1. Robert P. J. DayMar 30, 2020
  2. Junio C HamanoMar 30, 2020
  3. Robert P. J. DayMar 30, 2020

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.