To view a list of previous commits, enter the following command in your terminal:
The output to the
git log command will look something like this:
commit 1f0de91085f50af871d6486961fadea1d4a7aad2 (HEAD -> topic-branch) Author: John Smith <email@example.com> Date: Thu Oct 24 16:24:50 2019 -0700 Add new line commit 578ffd5b66a82d24c3ab863de9b860daf3125b17 Author: John Smith <firstname.lastname@example.org> Date: Wed Oct 9 13:16:00 2019 -0700 Initial commit
There are no exercises for this lesson.
Viewing the Commit History from the Pro Git book