View git diff of the last commit

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

git log --max-count=1 --patch


git diff @~1
If you liked this posting, please feel free to leave me a comment below.
View this page on GitHub.
Posted .


Leave a Reply