Shell/Bash: how to check git config username? Example

By

Shell/Bash Example: This is the "how to check git config username?" Example. compiled from many sources on the internet by SimpleTutorials.org

git config username

$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]

How to check git config username?

git config user.name

How to check git config username?

git config --list

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



* Summary: This "how to check git config username?" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others