Skip to content

Instantly share code, notes, and snippets.

@yumyo
Last active January 3, 2016 11:19
Show Gist options
  • Save yumyo/8455266 to your computer and use it in GitHub Desktop.
Save yumyo/8455266 to your computer and use it in GitHub Desktop.
Add this lines to your ~/.gitconfig to use Kaleidoscope as the default Git difftool & mergetool. Thanks to Nathan Cahill bit.ly/Lj0j6s
[difftool "Kaleidoscope"]
cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\"
[diff]
tool = Kaleidoscope
[difftool]
prompt = false
[mergetool "Kaleidoscope"]
cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot
trustExitCode = true
[mergetool]
prompt = false
[merge]
tool = Kaleidoscope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment