Skip to content

Instantly share code, notes, and snippets.

View SanthoshDhandapani's full-sized avatar
🎯
Focusing

Santhosh Dhandapani SanthoshDhandapani

🎯
Focusing
View GitHub Profile
@rambabusaravanan
rambabusaravanan / .gitconfig
Last active March 17, 2024 10:31
Git Diff and Merge Tool - IntelliJ IDEA
# 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]