News for hackers. Stuff that matters.
Re:Shit – An implementation of Git using POSIX shell by phodge on Tuesday February 11, 2020 @10:54PM (#22305580)
> A branch is merely a pointer to the tip of a series of commits.

But this is not actually correct because a branch can often point to a commit that is not the tip.

Re:Shit – An implementation of Git using POSIX shell by kortilla on Tuesday February 11, 2020 @11:44PM (#22305877)
It is the tip for that branch. Even if there exist other commits building on the commit the current branch points to, the pointer is still at the tip for that branch.

The point is that a branch is simply a pointer to a commit that automatically encapsulates all of the parent commits.

Re:Shit – An implementation of Git using POSIX shell by jbnorth on Tuesday February 11, 2020 @11:12PM (#22305692)
I think I see what it means though. The branch uses that commit as a new tip to then branch off of, not necessarily meaning a new branch starts at the existing 'tip'.