git config username
$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]
git config username
$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]
git user email
git config --global user.name "John Smith"
git config --global user.email "[email protected]"
How to check git config username?
3) Look in your Git configuration file
Finally, you can also see your Git username in the Git configuration file in your HOME directory on Unix systems, i.e., this file:
~/.gitconfig
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