GitHub contributions 统计规则

最近Profile里Contributions的统计出了问题,连续几天都没有正常记录。于是查了下文档,
Common reasons that contributions are not counted:
1. you haven’t added your local Git commit email to your profile
2. Commit was not made in the default or gh-pages branch
3. Commit was made in a fork
用命令行检查下configuration

git config --global user.email

果然不小心设置了错误的邮箱。。。

参考文档:
https://help.github.com/articles/why-are-my-contributions-not-showing-up-on-my-profile/

你可能感兴趣的:(GitHub contributions 统计规则)