“Git Benutzername anzeigen” Code-Antworten

Git List -List -Benutzer und E -Mail

git config --global --get user.name
git config --global --get user.email
garzj

Holen Sie sich Git Benutzername und E -Mail

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

So überprüfen Sie den aktuellen Git -Benutzer

To know the username, type:

git config user.name

To know the email, type:

git config user.email
Angry Anteater

Git Benutzername anzeigen

# show your Git username
git config --list

#an other way
`/.gitconfig
bilalahmed_dev

Github sehen den Benutzernamen

git config user.name
Combative Caracal

Überprüfen Sie den Git -Benutzernamen

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

Ähnliche Antworten wie “Git Benutzername anzeigen”

Fragen ähnlich wie “Git Benutzername anzeigen”

Weitere verwandte Antworten zu “Git Benutzername anzeigen” auf Shell/Bash

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen