From the course: Learning GitLab

Unlock the full course today

Join today to access over 23,200 courses taught by industry experts.

Git history

Git history

- [Narrator] Now that we've generated some commit history in our project, let's take a deeper look at how Git commits and history work. So head back to the root of your project and click commits, which is right under the title here. This will show you a list of all the individual changes that have been committed to a branch. You can see the commit message for each one, including this one that was just created. This is actually called a merge commit. And this is actually the commit that happened when we merged the commits from our changes branch into the main branch. It keeps a record of that because merging those in is another commit. We can also see here on the right that the individual commit hashes are represented here. And this is the short form. These codes are very long normally, and the short form is usually enough to see the difference. It's pretty unusual to have two of these eight character strings be…

Contents