View Commit Log
Git keeps track of the history of each commit made to the repository. This history is known as the commit log.
To view the commit log, use git log
.
git log
Many options can be applied to the commit log. A few are shown below.
# Limit to 5 most recent commits
git log -n 5
# Limit to commits since January 1, 2019
git log --since=2019-01-01
# Limit to commits by author
git log --author="Michael"