Skip to content

Instantly share code, notes, and snippets.

@andyshora
andyshora / sublime-merge-tool.sh
Created April 9, 2014 13:39
Set Sublime Text 2 as the default Git merge tool to resolve conflicts
ln -s "/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl
git config --global mergetool.sublime.cmd "sublime -w \$MERGED"
git config --global mergetool.sublime.trustExitCode false
git config --global merge.tool sublime