“Git Nome de usuário” Respostas de código

git user.name user.mail

git config --global user.name "Your Name"
git config --global user.email "[email protected]"
RWL_Dittrich

Git Nome de usuário

$ 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
Outstanding Osprey

Adicionar usuário Git e e -mail

git config --global user.email "[email protected]"
git config --global user.name "My Name"
Worried Monkey

Nome de usuário do Git Config

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

Obtenha nome de usuário e e -mail do Git

git config user.name
git config user.email
Zany Zebra

Git Nome de usuário

The command git config --list will list the settings. There you should also find user.name and user.email.
Distinct Dormouse

Respostas semelhantes a “Git Nome de usuário”

Perguntas semelhantes a “Git Nome de usuário”

Mais respostas relacionadas para “Git Nome de usuário” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código