Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git cli switch user

NAME=userName
EMAIL=email

git config --global user.name $NAME &&
git config --global user.email $EMAIL &&
git config credential.username $NAME &&
git config credential.email $EMAIL

git config --global --list
 
PREVIOUS NEXT
Tagged: #git #cli #switch #user
ADD COMMENT
Topic
Name
7+6 =