About your contribution graph
Your profile contributions graph is a record of contributions you've made to repositories on 您的 GitHub Enterprise Server 实例. Contributions are timestamped according to Coordinated Universal Time (UTC) rather than your local time zone. Contributions are only counted if they meet certain criteria. In some cases, we may need to rebuild your graph in order for contributions to appear.
If you are part of an organization that uses SAML single sign-on (SSO), you won’t be able to see contribution activity from the organization on your profile if you do not have an active SSO session. People viewing your profile from outside your organization will see anonymized contribution activity of your contribution activity for your organization.
Contributions that are counted
Issues, pull requests and discussions
Issues, pull requests and discussions will appear on your contribution graph if they were opened in a standalone repository, not a fork.
Commits
Commits will appear on your contributions graph if they meet all of the following conditions:
- The email address used for the commits is associated with your account on 您的 GitHub Enterprise Server 实例.
- The commits were made in a standalone repository, not a fork.
- The commits were made:
- In the repository's default branch
- In the
gh-pages
branch (for repositories with project sites)
For more information on project sites, see "About GitHub Pages."
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.
Common reasons that contributions are not counted
注:
- 要显示在您的个人资料贡献图中,合作提交必须符合与只有一个作者的提交相同的条件。
- 在变基提交时,提交的原作者和提交的变基者(� 论是在命令行还是 您的 GitHub Enterprise Server 实例 上)都会获得贡献积分。
Commit was made less than 24 hours ago
After making a commit that meets the requirements to count as a contribution, you may need to wait for up to 24 hours to see the contribution appear on your contributions graph.
Your local Git commit email isn't connected to your account
Commits must be made with an email address that is connected to your account on 您的 GitHub Enterprise Server 实例 in order to appear on your contributions graph.
You can check the email address used for a commit by adding .patch
to the end of a commit URL, e.g. https://github.com/octocat/octocat.github.io/commit/67c0afc1da354d8571f51b6f0af8f2794117fd10.patch:
From 67c0afc1da354d8571f51b6f0af8f2794117fd10 Mon Sep 17 00:00:00 2001
From: The Octocat <octocat@nowhere.com>
Date: Sun, 27 Apr 2014 15:36:39 +0530
Subject: [PATCH] updated index for better welcome message
The email address in the From:
field is the address that was set in the local git config settings. In this example, the email address used for the commit is octocat@nowhere.com
.
If the email address used for the commit is not connected to your account on 您的 GitHub Enterprise Server 实例, you must add the email address to your account on 您的 GitHub Enterprise Server 实例. Your contributions graph will be rebuilt automatically when you add the new address.
Warning: Generic email addresses, such as jane@computer.local
, cannot be added to GitHub accounts. If you use such an email for your commits, the commits will not be linked to your GitHub profile and will not show up in your contribution graph.
Commit was not made in the default or gh-pages
branch
Commits are only counted if they are made in the default branch or the gh-pages
branch (for repositories with project sites). For more information, see "About GitHub Pages."
If your commits are in a non-default or non-gh-pages
branch and you'd like them to count toward your contributions, you will need to do one of the following:
- Open a pull request to have your changes merged into the default branch or the
gh-pages
branch. - Change the default branch of the repository.
Warning: Changing the default branch of the repository will change it for all repository collaborators. Only do this if you want the new branch to become the base against which all future pull requests and commits will be made.
Commit was made in a fork
Commits made in a fork will not count toward your contributions. To make them count, you must do one of the following:
- Open a pull request to have your changes merged into the parent repository.
- To detach the fork and turn it into a standalone repository on 您的 GitHub Enterprise Server 实例, contact 您的网站管理员. If the fork has forks of its own, let 您的网站管理员 know if the forks should move with your repository into a new network or remain in the current network. For more information, see "About forks."