• Knusper@feddit.de
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    7 months ago

    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.

    • Jakub Narębski@fosstodon.org
      link
      fedilink
      arrow-up
      1
      ·
      7 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.