1. 清除凭证助手
git config --system --unset credential.helper
2. 查看凭证助手
git config --list
3. 设置用户名
git config --global user.name "XXX@XXX.com"
4. 设置邮箱
git config --global user.email"XXX@XXX.com"
5. 设置凭证
git config --global credential.helper store
1. 清除凭证助手
git config --system --unset credential.helper
2. 查看凭证助手
git config --list
3. 设置用户名
git config --global user.name "XXX@XXX.com"
4. 设置邮箱
git config --global user.email"XXX@XXX.com"
5. 设置凭证
git config --global credential.helper store