News for hackers. Stuff that matters.
Re:Some bad Git situations and how I got myself out of them by _ikke_ on Friday September 09, 2016 @03:56AM (#12460336)
In git, branches are pointers to commits (branches are a specific kind of refs or references). When you commit, git creates a new commit object, links it to the last commit on that branch, and then points that branch to the new commit.

This way, you get a chain of commits, each pointing to the previous commit, and and branch references pointing to the last commit of each branch.

There are no comments on this comment yet.