Video Course

Get to Know Git: Lesson 4 of 14

Viewing Git Commits

Up Next

Getting Started with GitHub

Autoplaying in 7 seconds!

Cancel

Create a Free Account to Watch

Sign Up Now

Login to your account

To see all the git commits in the past you can use:

git log

You can view the changes made in a specific commit using:

git show <commit_id>

To use a commit_id, you only need to use the first few characters.

For an easier way to view commits, use a GUI (graphical user interface). These will let you see commits in an easy to view format.

We recommend the official GitHub Desktop App.

Chris Sevilleja

157 posts

Co-founder of Scotch.io. Slapping the keyboard until something good happens.