Windows native Meld diff

Git users often use Meld to resolve differences, three-way or two-way, graphically. Meld is also easily used with Git from Windows.

  1. Download/install Meld for Windows.
  2. Download/install Git for Windows.

type at Command Prompt:

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

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

OR add to ~/.gitconfig:

[diff]
	tool = meld
[merge]
	tool = meld
[mergetool "meld"]
	path = "C:\\Program Files (x86)\\meld\\Meld.exe"

Notes

  • Do not use %PROGRAMFILES(X86)% as this doesn’t work from PowerShell.