Setting up Beyond Compare 4 in Visual Studio 2013 when using Git

I’m trying to figure out how to configure BEYOND COMPARE 4 to use with Visual Studio 2013 with GIT. NO matter how I seem to configure this it wants to use the VS2013 internal diff/merge tools.

Beyond Compare Install Directory

  • how to end git difftool session (beyond compare )?
  • How to configure Beyond compare with Git command line
  • Getting Beyond Compare to Diff 2 Branches Simultaneously
  • Using mercurial and beyond compare 3(bc3) as the diff tool? help needed
  • How to use svn with beyond compare 3
  • OSX Using Beyond Compare as git difftool
  • C:\Program Files (x86)\Beyond Compare 4
    

    from git bash window

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    
    C:\Users\me>git --version
    git version 1.8.3.msysgit.0
    
    C:\Users\me>git config --list
    core.symlinks=false
    core.autocrlf=true
    color.diff=auto
    color.status=auto
    color.branch=auto
    color.interactive=true
    pack.packsizelimit=2g
    help.format=html
    http.sslcainfo=/bin/curl-ca-bundle.crt
    sendemail.smtpserver=/bin/msmtp.exe
    rebase.autosquash=true
    diff.tool=bc4
    difftool.bc4.path=C:\Program Files (x86)\Beyond Compare 4\BComp.exe
    merge.tool=bc4
    mergetool.bc4.path=C:\Program Files (x86)\Beyond Compare 4\BComp.exe
    core.editor="C:/Program Files (x86)/GitExtensions/GitExtensions.exe" fileeditor
    core.autocrlf=true
    credential.helper=!\"C:/Program Files (x86)/GitExtensions/GitCredentialWinStore/
    git-credential-winstore.exe\"
    user.name=me
    user.email=me@email.com
    gui.recentrepo=C:/DevSource/mercury
    
    C:\Users\me>
    

    Global gitcoinfig in GIT install / etc directory

    [core]
        symlinks = false
        autocrlf = true
    [color]
        diff = auto
        status = auto
        branch = auto
        interactive = true
    [pack]
        packSizeLimit = 2g
    [help]
        format = html
    [http]
        sslCAinfo = /bin/curl-ca-bundle.crt
    [sendemail]
        smtpserver = /bin/msmtp.exe
    
    [rebase]
        autosquash = true
    [diff]
        tool = bc4
    [difftool "bc4"]
        path = C:\\Program Files (x86)\\Beyond Compare 4\\BComp.exe
    [merge]
        tool = bc4
    [mergetool "bc4"]
        path = C:\\Program Files (x86)\\Beyond Compare 4\\BComp.exe
    

    Also tried changing the exe to BCompare.exe instead of BComp.exe but that didn’t work either. Any help would be appreciated!

  • Visual Studio: Change default path for repositories for GIT plugin
  • How to list all tags along with the full message in git?
  • Using a single gulpfile across projects
  • git - how can I configure interactive commits to always show a diff?
  • Why my branch pending after merged in sourcetree graph
  • Can't execute git command in nodejs
  • One Solution collect form web for “Setting up Beyond Compare 4 in Visual Studio 2013 when using Git”

    Actually I believe I found the answer in this post
    Git Diff with Beyond Compare which so far seems to work. The visual studio environment brings up the new BC4.0 IDE instead of the internal tools.

    [diff]
        tool = bc4
    [difftool "bc4"]
        cmd = \"c:/program files (x86)/beyond compare 4/bcomp.exe\" \"$LOCAL\" \"$REMOTE\"
    [merge]
        tool = bc4
    [mergetool "bc4"]
        cmd = \"c:/program files (x86)/beyond compare 4/bcomp.exe\" \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\"
        trustExitCode = true
    
    Git Baby is a git and github fan, let's start git clone.