Answers for "git changing user"

4

git 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
Posted by: Guest on January-19-2022
3

change user in git repository

git config user.email "[email protected]"
git config user.name "Your Name"
git config user.password "your password"
Posted by: Guest on December-21-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language