For a long time, I didn’t know a way to do directory comparison using git difftool command, extdiff extension from Mercurial did perform much more superior than Git.
Though it may be a bit out of date, I just found that after
v1.7.11, Git now supports
directory comparison through
--dir-diff option, fantastic!
So here is a list of steps for me to make Beyond Compare 3 and Git directory comparison work under Windows.
First of all, Execute following commands in the
Git Bash shell (or just modify your .gitconfig directly).
You may need to change the folder where
1 2 3
NOTE: Instead of
BCompare.exe, because I’ve found
too early, which will cause errors like this:
Then make an alias for difftool:
Now, you can use
git dt to open Beyond Compare 3 for directory comparison in git repositories.