其实这个缘由很简单,是由于本地项目中git config中的user.email与github上的email不一致git
在项目目录中经过git bash运行git config user.email 能够查看当前的email addressgithub
经过git config user.email "aabbcc@gmail.com", 设置email address,请保持本地的email address和远端github的email address的一致bash
以后再push,就能在contributions里看到本身的提交了it
P.S io
若是有两个git帐号,能够经过git config --local设置该文件夹的一些配置,相对的另外一个参数是--globalemail
引用配置
https://help.github.com/articles/why-are-my-contributions-not-showing-up-on-my-profile/ 缘由file
https://help.github.com/articles/setting-your-email-in-git/ 解决方案引用