Answers for "git change user in pc'"

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
-1

change user in git repository

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

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language