Skip to content

Instantly share code, notes, and snippets.

@chrisfsmith
Created February 17, 2015 14:33
Show Gist options
  • Save chrisfsmith/7a7ec53e57317e199a3b to your computer and use it in GitHub Desktop.
Save chrisfsmith/7a7ec53e57317e199a3b to your computer and use it in GitHub Desktop.
[merge]
tool = intellij
[mergetool "intellij"]
cmd = /Applications/IntelliJ\\ IDEA\\ 14.app/Contents/MacOS/idea merge $(cd $(dirname "$LOCAL") && pwd)/$(basename "$LOCAL") $(cd $(dirname "$REMOTE") && pwd)/$(basename "$REMOTE") $(cd $(dirname "$BASE") && pwd)/$(basename "$BASE") $(cd $(dirname "$MERGED") && pwd)/$(basename "$MERGED")
trustExitCode = true
[diff]
tool = intellij
[difftool "intellij"]
cmd = /Applications/IntelliJ\\ IDEA\\ 14.app/Contents/MacOS/idea diff $(cd $(dirname "$LOCAL") && pwd)/$(basename "$LOCAL") $(cd $(dirname "$REMOTE") && pwd)/$(basename "$REMOTE")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment