Skip to content

Instantly share code, notes, and snippets.

@ianmcnally
Created June 30, 2014 17:31
Show Gist options
  • Save ianmcnally/b81935cda16874a8ce47 to your computer and use it in GitHub Desktop.
Save ianmcnally/b81935cda16874a8ce47 to your computer and use it in GitHub Desktop.
Sublime text as merge tool
git config --global mergetool.sublime.cmd "subl -w \$MERGED"
git config --global mergetool.sublime.trustExitCode false
git config --global merge.tool sublime
Usage:
git mergetool -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment