Re:Git Branches: Intuition and Reality
by dasil003 on Saturday November 25, 2023 @08:58AM
(#38413540)
There’s no “branching a new commit” (except as syntactic sugar). Creating a branch creates a new head pointing to an arbitrary commit (even one that already has one or more heads). Committing creates a new commit and moves exactly one head forward to it.
[ Parent
| on HN ]
There are no comments on this comment yet.