Install meld at cygwin as mergetool

Posted on Updated on

Cygwin is a great tool to bring linux environment to windows. It has almost all I need to work like at linux (Ubuntu). But to install meld (my fav editor to merge files) you must install it manually like I explain below :

1. Download and install http://sourceforge.net/projects/meld-installer/

2. Execute this

git config --global merge.tool meld

git config --global mergetool.meld.path c:/path/to/meld/installer/meld.exe

2 thoughts on “Install meld at cygwin as mergetool

    ASchlack said:
    October 13, 2015 at 10:14 pm

    How about also adding:
    git config –global diff.guitool meld
    git config –global difftool.meld.path “D:/Path to Programs Here/Meld/Meld.exe”
    this will allow the “git difftool” command to use meld as well.

    Carl said:
    October 20, 2015 at 5:05 am

    I found that git would put the old file into cygwin’s /tmp but meld would interpret it as c:\tmp and not find the file.
    A fix is to hardlink (or ‘directory junction’) c:\tmp to c:\cygwin64\tmp
    Open an administrator command prompt. Make sure your current directory is c:\> and type:
    mklink /J tmp c:\cygwin64\tmp
    Now meld will find the old version of the file that cygwin stores in /tmp

Leave a comment