Answers for "set git username and password"

9

git config username and password global

git config --global user.name "fname lname"
git config --global user.email "[email protected]"
git config --global user.password "secret"
Posted by: Guest on April-01-2021
40

git config username

$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]
Posted by: Guest on February-08-2020
8

set username git

git config --global user.name "My Name"
Posted by: Guest on March-21-2020
13

set email git

git config --global user.email "[email protected]"
Posted by: Guest on March-21-2020
8

save account to git

git config --global credential.helper store
Posted by: Guest on April-27-2020
2

how to change username and password in git

# change the whole things in one go
git config --global credential.helper cache # to enable credentail helper
git config --global --edit
Posted by: Guest on May-28-2021

Code answers related to "set git username and password"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language