Answers for "git user config command"

40

git config username

$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]
Posted by: Guest on February-08-2020
0

git user config

$ git config --local user.name "John Doe"
$ git config --local user.email [email protected]
Posted by: Guest on November-20-2020
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

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language