Last Updated: May 25, 2016
·
13.2K
· fr0gs

Git check diff HEAD and the previous commit

git diff HEAD^ HEAD

With this line we can check the changes from the last commit and the previous one without something like:

git diff <commit_id> <commit_id2>

2 Responses
Add your response

You can do it shorter: git show

over 1 year ago ·

Thank you!

over 1 year ago ·