Skip to content

Instantly share code, notes, and snippets.

@TomyLobo
Forked from kjlubick/InstallingMeld
Last active July 2, 2021 13:06
Show Gist options
  • Save TomyLobo/c7e088b2ed26ea40cd6734d7b5f5a577 to your computer and use it in GitHub Desktop.
Save TomyLobo/c7e088b2ed26ea40cd6734d7b5f5a577 to your computer and use it in GitHub Desktop.
How to install Meld on Windows and getting it set up with Git

After installing it https://download.gnome.org/binaries/win32/meld/ I had to tell Git to use Meld:

git config --global merge.tool meld
git config --global diff.tool meld

The last command tells Git where it can find Meld and depends on whether you are using Cygwin or Git for Windows:

Git for Windows:

git config --global mergetool.meld.path 'C:\Program Files (x86)\Meld\Meld.exe'

Cygwin:

git config --global mergetool.meld.path '/cygdrive/c/Program Files (x86)/Meld/Meld.exe'

And that seems to work. Both merging and diffing with "git difftool" or "git mergetool"

Based on https://gist.github.com/kjlubick/5a49a3ae5f39ae359997

@nawfalhasan
Copy link

nawfalhasan commented Jan 1, 2018

Is there a 64 bit version of meld for Windows?

@seanlowe
Copy link

Will this would for people who use Git through WSL on Windows 10?

@sirkuttin
Copy link

Will this would for people who use Git through WSL on Windows 10?

set up an xserver on windows
set up .bashrc to export the display to the windows xserver
install meld in the WSL

Then the Linux meld UI should be able to open up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment