I have a repo with file foo in the master branch. I switched to bar branch and made some changes to foo. How can I now run a git diff
foo
git diff
The following works for me:
git diff master:foo foo
In the past, it may have been:
git diff foo master:foo