Q:

git config username

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

git config --global user.password "your password"
2
$ git config --local user.name "John Doe"
$ git config --local user.email [email protected]
0
git config user.name
0
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
0

New to Communities?

Join the community