Answers for "update git config username and email"

6

git change username email

# FOR ALL REPOS
## change username
git config --global user.name "John Doe"
## change email address
git config --global user.email "[email protected]"

# FOR CURRENT-DIRECTORY REPO ONLY
## change username
git config user.name "John Doe"
## change email address
git config user.email "[email protected]"
Posted by: Guest on May-17-2021
2

change git username and email

$ git config --global user.email "[email protected]"
Posted by: Guest on February-07-2021
3

update git config username and email

git config --global --edit
Posted by: Guest on June-02-2021

Code answers related to "update git config username and email"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language