Viewing the History
View all commits
git log
- Commits are listed from newest to oldest
- If you have multiple pages, press
space
to go to next page, up & down arrow to go forward and backward q
to quit
Summary of all commits
git log --oneline
View all commits with details
- Shows the number of changes like addition, updation and deletion in each file
git log --stat
View the changes in each commit
- Shows the changes in each file
git log --patch