我的个人资料中 GitHub 贡献图表中的贡献是如何计算的? (带有绿点的那个。)是否计算提交是否取决于提交中的用户名或与之关联的电子邮件?
请提供详细信息。有什么方法可以将提交与我的用户名相关联,但更改我的电子邮件并仍然显示绿点?
最佳答案
GitHub 在他们的网站上有一篇关于此的文章。见 Why are my contributions not showing up on my profile?关于提交,文章说:
Commits
Commits will appear on your contributions graph if they meet all of the following conditions:
- The commits were made within the past year.
- The email address used for the commits is associated with your GitHub account.
- The commits were made in a standalone repository, not a fork.
- The commits were made:
- In the repository's default branch (usually master)
- In the gh-pages branch (for repositories with Project Pages sites)
In addition, at least one of the following must be true:
- You are a collaborator on the repository or are a member of the organization that owns the repository.
- You have forked the repository.
- You have opened a pull request or issue in the repository.
- You have starred the repository.
您可以通过您的 email settings page 将多个电子邮件地址与您的 GitHub 帐户相关联。 .
关于git - GitHub 贡献图如何计算提交?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29296681/