rndi8w
Last Updated: February 25, 2016
·
425
· shakeelmohamed

git diff against a remote branch

This is equivalent to previewing a pull request, and it works great across remotes!

git diff -w --patience HEAD...origin/master

But, what are those crazy arguments? read my other protip for an explanation.