Skip to content

Instantly share code, notes, and snippets.

@yashk
Created December 12, 2016 06:54
Show Gist options
  • Save yashk/ce9d337234e7054c9e0790cd498d4263 to your computer and use it in GitHub Desktop.
Save yashk/ce9d337234e7054c9e0790cd498d4263 to your computer and use it in GitHub Desktop.
[merge]
tool = intellij
[mergetool "intellij"]
cmd = 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 = idea diff $(cd $(dirname "$LOCAL") && pwd)/$(basename "$LOCAL") $(cd $(dirname "$REMOTE") && pwd)/$(basename "$REMOTE")
@yashk
Copy link
Author

yashk commented Dec 12, 2016

idea as diff-merge tool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment