Как проверить текущего пользователя GIT
To know the username, type:
git config user.name
To know the email, type:
git config user.email
Angry Anteater
To know the username, type:
git config user.name
To know the email, type:
git config user.email
Just use --local instead of --global. In fact, local is the default so you can just do
git config --local user.email personal@example.org
git config --local user.name "whatf hobbyist"
in one repo, and
git config --local user.email work@example.com
git config --local user.name "whatf at work"
in another