缘由:本地 git 配置的用户名和邮箱与你远端的git仓库的用户名与邮箱出现了不一致。php
➜ php-xxxx git:(master) ✗ git config user.email 6xxxx0@qq.com
会显示本机配置的邮箱,若是和你git上的不同,能够采用下面的两个办法git
git config --global user.name "xxxx" git config --global user.email "xxxx.xx@github.com"
➜ php-xxxx git:(master) ✗ git config user.email 62xxxx0@qq.com ➜ php-xxxx git:(master) ✗ git config user.name jack-xxxx
更多精彩内容,关注下面的微信公众号~github