Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git change username email

# FOR ALL REPOS
## change username
git config --global user.name "John Doe"
## change email address
git config --global user.email "johndoe@example.com"

# FOR CURRENT-DIRECTORY REPO ONLY
## change username
git config user.name "John Doe"
## change email address
git config user.email "johndoe@example.com"
 
PREVIOUS NEXT
Tagged: #git #change #username #email
ADD COMMENT
Topic
Name
5+4 =