How To Compare Git Commits from Last Commit
This quick overview will cover how to compare changes between commits or any commit in git log history. Compare from the last commit: Or alternatively, use commit IDs Or using alias Comparison by default compares to the HEAD you can further rewrite to or simply use which compares to the last commit.