I have two different files in different branches.
How can I diff them in one command?

Something like

# git diff branch1/foo.txt branch2/foo-another.txt

I could check out the other file, diff it and restore, but that’s quite dirty solution.

5 Answers
5

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *