News for hackers. Stuff that matters.
Re:Why Git Is Hard by Shish2k on Saturday October 07, 2023 @07:03AM (#37800690)
> so branches grow as tree branches do, not leaves

That’s exactly the mistake though - branches (the implementation detail) don’t grow. Branches - under the hood - are “one pointer to one commit”, and they are always the same size.

The suggestion to call the implementation “leaves” is because you get a pointer to one commit at the end of the branch, and you can then follow that branch backwards (via the linked-list of parent-commits) until you reach the trunk. But the “branch” is never actually stored anywhere, it is only implied by its ends.

Re:Why Git Is Hard by brabel on Sunday October 08, 2023 @01:42AM (#37808142)
That makes no sense. Different branches always have a common parent commit which is the "branching point". When you update the branch to point to a new commit, your branch is growing apart from the other. The branch analogy makes much more sense.