Answers for "set git password and username"

22

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
87

git config username and password

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

Git Store Username and Password

$ git config --global github.user defunkt
$ git config --global github.token 6ef8395fecf207165f1a82178ae1b984

Applications and scripts can easily access this information:
$ git config --global github.user
defunkt
Posted by: Guest on January-12-2022

Code answers related to "set git password and username"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language