Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save TomMannson/e578f5bdb96524217d479311de6ba393 to your computer and use it in GitHub Desktop.
Save TomMannson/e578f5bdb96524217d479311de6ba393 to your computer and use it in GitHub Desktop.
Configure git to use IntelliJ IDEA as the diff and merge tool on Windows
[merge]
tool = intellij
[mergetool "intellij"]
cmd = C:/Program\\ Files/Android/Android\\ Studio/bin/studio64.exe merge \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\"
[diff]
tool = intellij
[difftool "intellij"]
cmd = C:/Program\\ Files/Android/Android\\ Studio/bin/studio64.exe diff \"$LOCAL\" \"$REMOTE\"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment