Re:Git Branches: Intuition and Reality
by seba_dos1 on Thursday November 23, 2023 @11:58AM
(#38394815)
To make things more complicated, the word "tag" is also overloaded. It can either be just a reference (in git lingo, a "ref") to a commit - just like a branch, only differing from it in how the tools treat it; but they can also be "annotated tags" which are pointing to a special tag object which contains some metadata and only then points to a specific commit (or other kind of object...) :)
[ Parent
| on HN ]
Re:Git Branches: Intuition and Reality
by evntdrvn on Thursday November 23, 2023 @03:53PM
(#38397416)
You’ll also see the first type referred to as “lightweight tags”, if that helps anyone :)
Re:Git Branches: Intuition and Reality
by paulddraper on Friday November 24, 2023 @02:15PM
(#38407162)
Yeah they should have called them tags and annotations.
Or labels and annotations.
Or something else.