Reputation: 3037
How can I make this git diff work? Using the docs I can only find out how to diff 2 entire branches, or dirs/files in the branch that have the same root. Though, I need to diff branch1/dir/* against branch2/*.
Upvotes: 0
Views: 38
Reputation: 3356
Try this,
git diff branch1:dir/ branch2:
This should give the desired output.
Upvotes: 3