Git: Setup Beyond Compare as Difftool and Mergetool

Change config file

Depending on your Git setup (mines Git for Windows). You’ll need to locate your .gitconfig file (mine’s %userpath%/.gitconfig and make the necessary changes below.

Note that the “prompt = false” stops the Y/N prompt for each difftool file compare in the set. Can also be added as git config –global –add difftool.prompt false


[diff]
tool = bc3
[difftool "bc3"]
path = c:/Program Files (x86)/Beyond Compare 4/bcomp.exe
[merge]
tool = bc3
[mergetool "bc3"]
path = c:/Program Files (x86)/Beyond Compare 4/bcomp.exe
trustExitCode = false
[difftool]
prompt = false

Add a Comment

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