github 下Contributions计数失效原因

git push到远程仓库之后,Contributions的统计失败;

git push origin master

原因:没有配置本地git的配置文件中的user.emil 和user.name

git config --global user.name "你的github用户名"
git config --global user.email emailaddress@qq.com

//user.name:登录github的用户名
//user.email:github绑定的邮箱地址

设定完成之后,之后的提交就可以正常的进行统计了。

更多命令,未完待续……

image

posted @ 2016-03-18 14:31  zhanfuShi  阅读(287)  评论(0编辑  收藏  举报