緣由:本地 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