Git: View History (git log)
List History of Commit ID
How to see last change?
git log --patch -2 --color -- filepath
-
show diff in last 2 commits of file.
-p
or--patch
means generate patch diff format. git log --patch -2 --color
-
show diff in last 2 commits.
git log diff
Reference
git help log