DEV Community

Discussion on: Get to Know the Command Line: Basic Git Commands

Collapse
 
sebring profile image
J. G. Sebring

Good one! Once you go console and learn the basics you'll never look back.

Setting editor of choice
I remember a fright of ending up in 'vi'-mode for commit messages. If you, like me, couldn't care less of learning how to use the vi-editor properly you should set git to fire the editor of your choice.

git config --global core.editor "notepad"

notepad, vs code ("code"), sublime, atom etc.