Skip to content

Instantly share code, notes, and snippets.

@pamtrak06
Created November 11, 2018 17:57
Show Gist options
  • Save pamtrak06/f987a284e16f2414d83c7e1b0751380b to your computer and use it in GitHub Desktop.
Save pamtrak06/f987a284e16f2414d83c7e1b0751380b to your computer and use it in GitHub Desktop.
Configure git to include meld - linux
# Set in .git/gitconfig
[diff]
tool = meld
[difftool]
prompt = false
[difftool "meld"]
trustExitCode = true
cmd = open -W -a Meld --args \"$LOCAL\" \"$REMOTE\"
[merge]
tool = meld
[mergetool]
prompt = false
[mergetool "meld"]
trustExitCode = true
cmd = open -W -a Meld --args --auto-merge \"$LOCAL\" \"$BASE\" \"$REMOTE\" --output=\"$MERGED\"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment