View git diff of the last commit

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

git diff @~1

OR

git diff @{1} @{0}
Did this help you? Please let me know with a comment. Thank you
Posted .

Comments (RSS)

Leave a comment