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

Re: [PATCH] glossary: extend "detached HEAD" description

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 10, 2013, 19:35 UTC
Message-ID
<7vzjx6kwle.fsf@alter.siamese.dyndns.org>
In-Reply-To
<5165AF74.9060508@gmail.com>
Jakub Narębski <jnareb@gmail.com> writes:
> P.S. From some StackOverflow questions the connection between "(no
> branch)" and detached HEAD is not clear for git newbies...

If _that_ is the problem you are really trying to address, the output from recent Git already says "(detached from xxxxxx)" or something, so I suspect there is nothing to fix in the glossary. We are exposing the word "detached" more to the UI, so that people who do not know what it means can come to the glossary.

>>> Should we also add that "git branch" output shows this situation
>>> as "(no branch)"?

I guess "(no branch)" is no longer necessarily what we output from there, so the updated description for "git branch" needs to be a bit different from "the command says (no branch) when detached", but I think it still is a good idea to mention what the user is expected to see.

Thanks.
Previous: Jakub Narębski
Message 6 of 6 in “glossary: extend "detached HEAD" description”
  1. glossary: extend "detached HEAD" descriptionJunio C Hamano, Apr 5, 2013
  2. Eric SunshineApr 5, 2013
  3. Jakub NarębskiApr 10, 2013
  4. Junio C HamanoApr 10, 2013
  5. Jakub NarębskiApr 10, 2013
  6. Junio C HamanoApr 10, 2013

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.