git push 报错 ---error: commit 8aa8e31: email address [email protected] is not registered in your

git push 报错:
error: commit 8aa8e31: email address [email protected] is not registered in your account,

git push 报错 ---error: commit 8aa8e31: email address yin.jiaqing@.....com is not registered in your_第1张图片
错误是说邮箱没有注册,可是用git config 查看了user.email 和user.name 都有内容啊。

解决

重新git config --global user.name 和user.email 然后需要 git commit --amend --reset-author
然后就可以提交了

git push 报错 ---error: commit 8aa8e31: email address yin.jiaqing@.....com is not registered in your_第2张图片

(为啥我每次提交总是要遇到问题,叹气)

你可能感兴趣的:(git)