Git configuration related essential command
Set user email and name after removing previous all :
git config --global --replace-all user.email "new@mail.com"
git config --global --replace-all user.name "newname"
Set user email and name :
git config --global --user.name "setname"
git config --global --user.email "set@mail.com"
Show current user email and name :
git config --global --user.name
git config --global --user.email
git config --global --replace-all user.email "new@mail.com"
git config --global --replace-all user.name "newname"
Set user email and name :
git config --global --user.name "setname"
git config --global --user.email "set@mail.com"
Show current user email and name :
git config --global --user.name
git config --global --user.email
Comments
Post a Comment