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

Feature request: status could list ref names after "HEAD detached"

From
M Hickford <mirth.hickford@gmail.com>
Date
Mar 21, 2024, 08:00 UTC
Message-ID
<CAGJzqs=ULaHwttY1jRaW4ZT0tGeSW2S_gcEw=tMrY+i26Jy1gA@mail.gmail.com>
I frequently run `git status`. Sometimes HEAD is detached:
    HEAD detached at ea601b57e
It would be neat to include ref names here, similar to git log:
    HEAD detached at ea601b57e (origin/main, origin/HEAD, main)
This gives me more information before I create a new branch or switch branch.
Next: Junio C Hamano
Message 1 of 3 in “Feature request: status could list ref names after "HEAD detached"”
  1. M HickfordMar 21, 2024
  2. Junio C HamanoMar 21, 2024
  3. M HickfordMar 22, 2024

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.