“Como verificar o usuário do Git atual” Respostas de código

Como verificar o usuário do Git atual

To know the username, type:

git config user.name

To know the email, type:

git config user.email
Angry Anteater

Verifique o nome de usuário Git

Just use --local instead of --global. In fact, local is the default so you can just do

git config --local user.email [email protected]
git config --local user.name "whatf hobbyist"

in one repo, and

git config --local user.email [email protected]
git config --local user.name "whatf at work"

in another
Lazy Lizard

Respostas semelhantes a “Como verificar o usuário do Git atual”

Perguntas semelhantes a “Como verificar o usuário do Git atual”

Procure respostas de código populares por idioma

Procurar outros idiomas de código