admin管理员组

文章数量:1648012

一、问题

有时候git push的时候会遇到如下情况:

主要内容就是:xxx does not match your user account.the following user name and email address is currently registered 

就是说账户信息不匹配,此时只需要重新绑定一下账户名和邮箱就可以了

二、解决办法

git config --global user.name "Your Name"
git config --global user.email you@example
git commit --amend --reset-author

之后再push就可以愉快的提交代码啦!!! 

本文标签: 代码MATCHAccountUser