View git diff of the last commit

Content

To view the diff changes of the last commit, use the following:

git diff @~1

OR

git diff @{1} @{0}