Get startedGet started for free

Viewing a repository's history

Recall that every commit has a unique identifier called a hash.

Git has a command you can use to display all commits made to a repo, along with the hash, author, and time of the commit.

Using the console, run a command to find the hash of the most recent commit.

This exercise is part of the course

Introduction to Git

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise