How can I see the differences in a designated file between a local branch and a remote branch?
I know this command:
git diff <local branch> <remote-tracking branch>
But it gives the differences in all files between two branches while I only care about changes of one single designated file.
Take a look at
git diff --help, which shows you:So, you’re almost there. Instead of:
You can use: