4 ms·
> 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
by phodge 7y ago
> 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.
- jbnorth 7y agoI 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'.
- kortilla 7y agoIt 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.