Then, to make meld
your git difftool
, you can use these two commands, inside the Git for Windows bash terminal, (as Arugin says), using the proper path to Meld.exe. Note: for old versions of Windows, your path is likely "C:\Program Files (x86)\Meld\Meld.exe"
instead.
git config --global merge.tool meld
git config --global mergetool.meld.path "C:\Program Files (x86)\Meld\MeldFiles\Meld\Meld.exe"
OR you can just edit your C:\Users\YOUR_USER_NAME\.gitconfig
file directly and add the following to the end of it (notice the mandatory usage of the double-backslashes [\\
] here as the path separator!). Note: again, for old versions of Windows, your path is likely C:\\Program Files (x86)\\Meld\\Meld.exe
instead:
[merge]
tool = meld
[mergetool "meld"]
path = C:\\Program Files (x86)\\Meld\\MeldFiles\\Meld\\Meld.exe