DEV Community

Discussion on: Git cheatsheet for beginners

Collapse
 
duomly profile image
Duomly

You can setup default editor in the .bash_profile or .zshrc file in your users profile :)

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

Thanks, found it. A better way, actually.

git config --global core.editor "nano"

And, git config --global --edit, of course.