Skip to content

Instantly share code, notes, and snippets.

View SanthoshDhandapani's full-sized avatar
🎯
Focusing

Santhosh Dhandapani SanthoshDhandapani

🎯
Focusing
View GitHub Profile
@SanthoshDhandapani
SanthoshDhandapani / .gitconfig
Last active May 4, 2017 09:39 — forked from rambabusaravanan/.gitconfig
Git Diff and Merge Tool - IntelliJ
# Linux
# add the following to "~/.gitconfig" file
[merge]
tool = intellij
[mergetool "intellij"]
cmd = /usr/local/bin/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]