Git Diff Between Your Current Repo & The Last Commit/Push

I’m not sure how this command works but:

git diff HEAD^ HEAD

If anyone knows how to show the same thing before you’re forced to do a “git pull”, I would like to know that as well!

Leave a comment