查看本地git邮箱:
git config user.email
然后在github里的accout settings》email里看看你的primary github email 是不是你本地那个邮箱。
改一下就好了
git config --global user.email "me@here.com"
参考文章:https://help.github.com/articles/why-are-my-contributions-not-showing-up-on-my-profile
https://help.github.com/articles/why-are-my-commits-linked-to-the-wrong-user
Git仓库迁移时,本地将旧仓库链接到新仓库地址
提交时使用gerrit指令:git push origin HEAD:refs/for/develop