“Comment vérifier l'utilisateur GIT actuel” Réponses codées

Comment vérifier l'utilisateur GIT actuel

To know the username, type:

git config user.name

To know the email, type:

git config user.email
Angry Anteater

Vérifiez le nom d'utilisateur 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

Réponses similaires à “Comment vérifier l'utilisateur GIT actuel”

Questions similaires à “Comment vérifier l'utilisateur GIT actuel”

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code