Skip to content

Instantly share code, notes, and snippets.

@ashokdhaduk
Forked from tanmay27vats/bash.sh
Created May 28, 2018 04:41
Show Gist options
  • Save ashokdhaduk/6f8d827e6b1e214674cfa39ed08e2a90 to your computer and use it in GitHub Desktop.
Save ashokdhaduk/6f8d827e6b1e214674cfa39ed08e2a90 to your computer and use it in GitHub Desktop.
change editor for git
git config --global core.editor "vim"
#Run above command in Terminal / git-bash to change git editor from default to "vim" editor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment