其實這個緣由很簡單,是由於本地項目中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/ 解決方案引用