You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your profile contributions graph is a record of contributions you've made to repositories {% ifversion ghae %}owned by{% else %}on{% endif %} {% data variables.product.product_location %}. 贡献按照协调世界时 (UTC) 而不是您当地的时区加时间戳。 只有在满足特定标准时才会计算贡献。 在某些情况下,我们可能需要重建您的图表才能显示贡献。
20
+
Your profile contributions graph is a record of contributions you've made to repositories {% ifversion ghae %}owned by{% else %}on{% endif %} {% data variables.product.product_location %}. 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.
21
21
22
-
## 计算的贡献
22
+
## Contributions that are counted
23
23
24
-
### 议题、拉取请求和讨论
24
+
### Issues, pull requests and discussions
25
25
26
-
如果议题、拉取请求和讨论在独立的仓库而不是复刻中打开,它们将在您的贡献图中显示。
26
+
Issues, pull requests and discussions will appear on your contribution graph if they were opened in a standalone repository, not a fork.
27
27
28
-
### 提交
29
-
如果提交符合以下**所有**条件,则会在您的贡献图中显示:
28
+
### Commits
29
+
Commits will appear on your contributions graph if they meet **all** of the following conditions:
30
30
- The email address used for the commits is associated with your account on {% data variables.product.product_location %}.
31
-
-提交在独立的仓库而不是复刻中进行。
32
-
-提交在以下位置进行:
33
-
-在仓库的默认分支中
34
-
-在 `gh-pages`分支中(对于包含项目站点的仓库)
31
+
-The commits were made in a standalone repository, not a fork.
32
+
-The commits were made:
33
+
-In the repository's default branch
34
+
-In the `gh-pages`branch (for repositories with project sites)
35
35
36
-
有关项目网站的更多信息,请参阅“[关于 {% data variables.product.prodname_pages %}](/pages/getting-started-with-github-pages/about-github-pages#types-of-github-pages-sites)”。
36
+
For more information on project sites, see "[About {% data variables.product.prodname_pages %}](/pages/getting-started-with-github-pages/about-github-pages#types-of-github-pages-sites)."
37
37
38
-
此外,必须**至少**满足以下条件之一:
39
-
-您是仓库中的协作者,或者是拥有该仓库的组织的成员。
40
-
-您已复刻该仓库。
41
-
-您已打开仓库中的拉取请求或议题。
42
-
-您已为仓库加星标。
38
+
In addition, **at least one** of the following must be true:
39
+
-You are a collaborator on the repository or are a member of the organization that owns the repository.
40
+
-You have forked the repository.
41
+
-You have opened a pull request or issue in the repository.
42
+
-You have starred the repository.
43
43
44
-
## 贡献未计算的常见原因
44
+
## Common reasons that contributions are not counted
45
45
46
46
{% data reusables.pull_requests.pull_request_merges_and_contributions %}
47
47
48
-
### 24 小时内进行的提交
48
+
### Commit was made less than 24 hours ago
49
49
50
-
进行满足计为贡献要求的提交后,您可能需要等待最长 24 小时才能看到在贡献图中显示的贡献。
50
+
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.
51
51
52
-
### 您的本地 Git 提交电子邮件地址未连接到您的帐户
52
+
### Your local Git commit email isn't connected to your account
53
53
54
54
Commits must be made with an email address that is connected to your account on {% data variables.product.product_location %}{% ifversion fpt or ghec %}, or the {% data variables.product.prodname_dotcom %}-provided `noreply` email address provided to you in your email settings,{% endif %} in order to appear on your contributions graph.{% ifversion fpt or ghec %} For more information about `noreply` email addresses, see "[Setting your commit email address](/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address#about-commit-email-addresses)."{% endif %}
You can check the email address used for a commit by adding `.patch`to the end of a commit URL, e.g. <ahref="https://github.com/octocat/octocat.github.io/commit/67c0afc1da354d8571f51b6f0af8f2794117fd10.patch"data-proofer-ignore>https://github.com/octocat/octocat.github.io/commit/67c0afc1da354d8571f51b6f0af8f2794117fd10.patch</a>:
57
57
58
58
```
59
59
From 67c0afc1da354d8571f51b6f0af8f2794117fd10 Mon Sep 17 00:00:00 2001
The email address in the `From:`field is the address that was set in the [local git config settings](/articles/set-up-git). In this example, the email address used for the commit is `octocat@nowhere.com`.
66
66
67
-
If the email address used for the commit is not connected to your account on {% data variables.product.product_location %}, {% ifversion ghae %}change the email address used to author commits in Git. For more information, see "[Setting your commit email address](/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address#setting-your-commit-email-address-in-git)."{% else %}you must [add the email address](/articles/adding-an-email-address-to-your-github-account) to your account on {% data variables.product.product_location %}. 您的贡献图将在添加新地址后自动重建。{% endif %}
67
+
If the email address used for the commit is not connected to your account on {% data variables.product.product_location %}, {% ifversion ghae %}change the email address used to author commits in Git. For more information, see "[Setting your commit email address](/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address#setting-your-commit-email-address-in-git)."{% else %}you must [add the email address](/articles/adding-an-email-address-to-your-github-account) to your account on {% data variables.product.product_location %}. Your contributions graph will be rebuilt automatically when you add the new address.{% endif %}
68
68
69
69
{% warning %}
70
70
71
71
**Warning**: Generic email addresses, such as `jane@computer.local`, cannot be added to {% data variables.product.prodname_dotcom %} accounts. If you use such an email for your commits, the commits will not be linked to your {% data variables.product.prodname_dotcom %} profile and will not show up in your contribution graph.
72
72
73
73
{% endwarning %}
74
74
75
-
### 提交没有在默认或 `gh-pages`分支中进行
75
+
### Commit was not made in the default or `gh-pages`branch
76
76
77
-
仅发生在默认分支或 `gh-pages`分支(对于包含项目站点的仓库)中的提交才会计入。 更多信息请参阅“[关于 {% data variables.product.prodname_pages %}](/pages/getting-started-with-github-pages/about-github-pages#types-of-github-pages-sites)”。
77
+
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 {% data variables.product.prodname_pages %}](/pages/getting-started-with-github-pages/about-github-pages#types-of-github-pages-sites)."
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:
80
+
-[Open a pull request](/articles/creating-a-pull-request) to have your changes merged into the default branch or the `gh-pages`branch.
81
+
-[Change the default branch](/github/administering-a-repository/changing-the-default-branch) of the repository.
82
82
83
83
{% warning %}
84
84
85
-
**Warning**: Changing the default branch of the repository will change it for all repository collaborators. 仅当您希望新分支成为进行所有未来拉取请求和提交的基础时才执行此操作。
85
+
**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.
- To detach the fork and turn it into a standalone repository on {% data variables.product.product_location %}, contact {% data variables.contact.contact_support %}. If the fork has forks of its own, let {% data variables.contact.contact_support %} know if the forks should move with your repository into a new network or remain in the current network. 更多信息请参阅“[关于复刻](/articles/about-forks/)”。
91
+
Commits made in a fork will not count toward your contributions. To make them count, you must do one of the following:
92
+
-[Open a pull request](/articles/creating-a-pull-request) to have your changes merged into the parent repository.
93
+
- To detach the fork and turn it into a standalone repository on {% data variables.product.product_location %}, contact {% data variables.contact.contact_support %}. If the fork has forks of its own, let {% data variables.contact.contact_support %} 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](/articles/about-forks/)."
Copy file name to clipboardExpand all lines: translations/zh-CN/content/account-and-profile/setting-up-and-managing-your-github-user-account/managing-access-to-your-personal-repositories/inviting-collaborators-to-a-personal-repository.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ shortTitle: 邀请协作者
25
25
26
26
{% ifversion fpt or ghec %}
27
27
28
-
If you're a member of an {% data variables.product.prodname_emu_enterprise %}, you can only invite other members of your enterprise to collaborate with you. {% data reusables.enterprise-accounts.emu-more-info-account %}
28
+
如果您是 {% data variables.product.prodname_emu_enterprise %} 的成员,则只能邀请企业的其他成员与您协作。 {% data reusables.enterprise-accounts.emu-more-info-account %}
29
29
30
30
{% note %}
31
31
@@ -47,7 +47,7 @@ If you're a member of an {% data variables.product.prodname_emu_enterprise %}, y
Copy file name to clipboardExpand all lines: translations/zh-CN/content/account-and-profile/setting-up-and-managing-your-github-user-account/managing-access-to-your-personal-repositories/maintaining-ownership-continuity-of-your-user-accounts-repositories.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ shortTitle: 所有权连续性
23
23
24
24
继承者不能登录到您的帐户。
25
25
26
-
指定的继承者在提交死亡证明并等待 7 天或者提交讣告并等待 21 天后,便可管理您的公共仓库。 For more information, see "[{% data variables.product.company_short %} Deceased User Policy](/free-pro-team@latest/github/site-policy/github-deceased-user-policy)."
26
+
指定的继承者在提交死亡证明并等待 7 天或者提交讣告并等待 21 天后,便可管理您的公共仓库。 更多信息请参阅“[{% data variables.product.company_short %} 已故用户政策](/free-pro-team@latest/github/site-policy/github-deceased-user-policy)”。
0 commit comments