Reputation: 5839
I'd like to find the difference between a given directory on two remote branches. Currently I can compare the two branches like so
gitk --left-right remote/branch1 remote/branch2
But that's giving me way too much information. I'd like to limit the diff to one directory, foobar
. Is this possible?
Upvotes: 1
Views: 384
Reputation: 12617
You can specify path as the last parameter. --
is optional, but use it to make sure the path is seperated from preceding options.
gitk --left-right remote/branch1 remote/branch2 -- foobar
Upvotes: 1