this post was submitted on 16 Dec 2023
52 points (98.1% liked)

Git

2911 readers
1 users here now

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Resources

Rules

  1. Follow programming.dev rules
  2. Be excellent to each other, no hostility towards users for any reason
  3. No spam of tools/companies/advertisements. It’s OK to post your own stuff part of the time, but the primary use of the community should not be self-promotion.

Git Logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.

founded 1 year ago
MODERATORS
52
submitted 11 months ago* (last edited 11 months ago) by mac to c/git
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 11 months ago* (last edited 11 months ago) (1 children)

Well, to reference Julia Evans another time:

head and HEAD are specifically the third meaning of 'branch', i.e. the newest commit on a branch, but can also refer to a commit not on a branch, when in that detached head state.

And while I'm not enamored with these names either, I can't think of a word that I like better for this meaning.

[–] [email protected] 1 points 11 months ago

@Knusper @mac The 'head' is sometimes called 'tip of the branch' if you want to invoke the meaning of branch as a pointer to the graph of revisions, as a tip where new commits are created.