vngjla
Last Updated: May 25, 2016
·
2.766K
· fr0gs
Doggy

Git check diff HEAD and the previous commit

git
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>
Say Thanks
Respond

2 Responses
Add your response

24634
666188ee6a68720ce0f96522f31483e6

You can do it shorter: git show

over 1 year ago ·
27670
Doggy

Thank you!

over 1 year ago ·
Filed Under