Summary
To see a summarized view of the previous commits, use
git log --oneline
git log
Shoes a list of all commits including their hash, author, data, and message.
Options
--oneline
This will show a summarized view with the hash and commit message only
-N
, where N is a number
Shows the last N commits. For example, git log -5
will only show the last 5 commits, and git log --oneline -5
will show a summarized view of the last 5 commits.
View more options on the documentation for git log.