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

Re: user manual question

From
Dilip M <dilipm79@gmail.com>
Date
Dec 28, 2008, 16:36 UTC
Message-ID
<c94f8e120812280836j4acab974s5139167ac6be54ee@mail.gmail.com>
In-Reply-To
<slrnglf3qh.c7j.sitaramc@sitaramc.homelinux.net>
On Sun, Dec 28, 2008 at 8:08 PM, <sitaramc@gmail.com> wrote:
Show 18 quoted lines
> On 2008-12-28, Zorba <cr@altmore.co.uk> wrote:
>> Under "Examining an old version without creating a new branch"
>> subsection in chapter1
>>
>> to aid my understanding, could the statement:
>>
>> "The HEAD then refers to the SHA1 of the commit instead of to a
>> branch, and git branch shows that you are no longer on a branch:"
>>
>> be restated more explicitly as:
>>
>> "The HEAD then refers to the SHA1 of the commit instead of to a
>> branch head, and git branch shows that you are no longer on a branch
>> head:"
>
> Sure, but I prefer "tip"; reduces confusion between "head" and "HEAD"
> in spoken descriptions (I teach internal classes on git occasionally,
> once even on a conf call!)
+1

I was (am) was initially confused about head and HEAD and assumed that they are both same.

-- dm
Previous: Sitaram ChamartyNext: Zorba
Message 3 of 12 in “user manual question”
  1. ZorbaDec 28, 2008
  2. Sitaram ChamartyDec 28, 2008
  3. Dilip MDec 28, 2008
  4. ZorbaDec 29, 2008
  5. ZorbaDec 28, 2008
  6. Sitaram ChamartyDec 29, 2008
  7. Dilip MDec 29, 2008
  8. ZorbaDec 29, 2008
  9. Björn SteinbrinkDec 29, 2008
  10. Markus HeidelbergDec 29, 2008
  11. Sitaram ChamartyDec 29, 2008
  12. Daniel BarkalowDec 29, 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.