Skip to content

Instantly share code, notes, and snippets.

@martincr
Last active September 13, 2017 15:06
Show Gist options
  • Save martincr/b875760c79517ff08711bd6ba0dcc9d0 to your computer and use it in GitHub Desktop.
Save martincr/b875760c79517ff08711bd6ba0dcc9d0 to your computer and use it in GitHub Desktop.
Launch Sublime Text 3 from the command line in macOS Sierra. Add to Git configuration to use Sublime Text 3 as the message editor.

ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl

git config --global core.editor "subl -n -w"

ln -s "/Applications/Sublime Text (3126).app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl

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