I'm trying to use Beyond Compare 3 as my diff tool with git. I configured git with the following commands: (source: Using Beyond Compare With Version Control Systems)

git config --global diff.tool bc3
git config --global difftool.bc3.path "c:/program files/beyond compare 3/bcomp.exe"

My config now appears to be set correctly:

git config --global --list


core.editor='c:/program files/sublime text 2/sublime_text.exe' -w
difftool.bc3.path=c:/program files/beyond compare 3/bcomp.exe

However, when I run

git difftool Readme.txt

Powershell thinks for a moment, then displays a new prompt. Beyond Compare never launches. I've verified the path is correct by launching Beyond Compare from both Powershell and the command prompt.

What do I need to change to get this to work?


So it appears I had everything set up correctly, but wasn't using the correct command to let git know which files I wanted to compare.

By changing this:

git difftool Readme.txt

To this:

git difftool head~2 Readme.txt

I'm prompted to launch bc3 and the last 2 versions of my file are displayed in the left and right panes of bc3.

  • git difftool head <file> worked of me. – gawpertron Sep 3 '14 at 10:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.