[ACCEPTED]-Getting Beyond Compare to Diff 2 Branches Simultaneously-difftool

Accepted answer
Score: 22

Starting with git v1.7.11, you can use git difftool --dir-diff to 5 perform a directory diff.

The answer that 4 follows applies to git installations older 3 than v1.7.11.


This issue is not related to 2 BC, but to the way git works. Fortunately, there 1 is a solution at this URL - git-diffall

Score: 16

I used these commands to set Beyond Compare 4 (despite the bc3 you see in them) as 15 the diff / merge tools:

git config --global 14 diff.tool bc3
git config --global difftool.bc3.path 13 "C:/Program Files/Beyond Compare 4/bcomp.exe"

git 12 config --global merge.tool bc3
git config 11 --global mergetool.bc3.path "C:/Program 10 Files/Beyond Compare 4/bcomp.exe"

Then 9 I compared two branches like this, where 8 "oldbranchname" and "newbranchname" are 7 the names of the two branches I wanted to 6 compare.

git difftool -d --tool=bc3 oldbranchname 5 newbranchname

I get the folder view as if 4 I compared two folders with beyond compare. The 3 only thing of note is that it will not show 2 identical files in the comparison, but that 1 has not bothered me.

More Related questions