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"
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"
git username
$ git config --global user.name
> "John Smith"
$ git config --global user.email
> "[email protected]"
if you have configured multiple git users in your machine
$ git config --global user.name ### It will give name of git user who is globaly scoped
$ git config user.name ### It will give name of git user who has scope with respect to current repository
git config username
$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]
git config credential.username
$ git config --global credential.helper store
git config credential.username
$ git config credential.helper store
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us