Skip to content

Instantly share code, notes, and snippets.

@ViktorStiskala
Created August 13, 2013 13:27
Show Gist options
  • Save ViktorStiskala/6221049 to your computer and use it in GitHub Desktop.
Save ViktorStiskala/6221049 to your computer and use it in GitHub Desktop.
Pycharm as a default git difftool and git mergetool. Add the following to ~/.gitconfig
[diff]
tool = pycharm
[difftool "pycharm"]
cmd = /usr/local/bin/pycharm diff "$LOCAL" "$REMOTE" && echo "Press enter to continue..." && read
[merge]
tool = pycharm
keepBackup = false
[mergetool "pycharm"]
cmd = /usr/local/bin/pycharm merge "$LOCAL" "$REMOTE" "$BASE" "$MERGED"
@chrisamow
Copy link

It is back in 3.4.1 !

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