In this lab, you'll work through some simple examples of using the git log command to see the flexibility it offers, and also create an alias to help simplify using it. You'll also look at how to tag commits to have another way to reference them.
This lab assumes that you have done Connected Lab 3: Tracking Content through the File Status Life Cycle. You should start out in the same directory as that lab.
$ echo new >> file1.c $ git commit -am "add a line"
$ git log $ git status –s
To see only the first line of each log message, you can use the --oneline option. Try it now. ...