Cancel the global setting
git config --global --unset user.name
git config --global --unset user.email
Setup the user.email for each repo
git config user.email "xxxx@xx.com"
git config user.name "name"
git config --global --unset user.name
git config --global --unset user.email
git config user.email "xxxx@xx.com"
git config user.name "name"
下一篇 Add new user