Answers for "how we can set code as default editor for git in linux"

1

git configure default editor

# Set Emacs as the default editor
$ git config --global core.editor emacs   
# Set Visual Studio Code as the default editor
$ git config --global core.editor code
Posted by: Guest on September-03-2020
0

how to set default editor for git bash

git config --global core.editor "nano"
Posted by: Guest on August-03-2021

Code answers related to "how we can set code as default editor for git in linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language