1、删除windows凭据
2、修改git/etc/gitconfig,增加你的邮箱和姓名
[user] name = your.name email = your.email@qq.com
3、项目代码目录,执行:
git config --global user.name xxxxxx
git config --global user.email "your.email@qq.com" git config --global user.password xxx
git commit --amend --author "your.name <your.email@qq.com>"
4、重启idea