cara memeriksa pengguna git saat ini
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 [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