Skip to content

Instantly share code, notes, and snippets.

@amonks
Last active February 18, 2016 16:38
Show Gist options
  • Save amonks/5986e3abc9d85c5f9827 to your computer and use it in GitHub Desktop.
Save amonks/5986e3abc9d85c5f9827 to your computer and use it in GitHub Desktop.

set editor to sublime text

git config --global core.editor "/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl -n -w"

set editor to nano

git config --global core.editor "nano"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment