Alex Kras has provided a script to enable it to work from the command line, but I was sure there was a simpler way to open it, and after some messing around, it seems you can use OSX's open command, so you can set the following in your .gitconfig to open Meld automatically using git mergetool.
[mergetool "meld"]
cmd = open -W -a Meld --args --auto-merge $PWD/$LOCAL $PWD/$BASE $PWD/$REMOTE --output $PWD/$MERGED
trustexitcode = false
Somebody # 19/01/25 06:09
Add Comment