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

 

posted on 2025-04-03 16:57  架构艺术  阅读(26)  评论(0)    收藏  举报