Skip to content

Commit aa36330

Browse files
authored
Update "Manage contribution settings" map topic (#57469)
1 parent 2056cc2 commit aa36330

File tree

7 files changed

+99
-102
lines changed

7 files changed

+99
-102
lines changed

content/account-and-profile/how-tos/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ topics:
1515
children:
1616
- /showing-an-overview-of-your-activity-on-your-profile
1717
- /viewing-contributions-on-your-profile
18-
- /showing-your-private-contributions-and-achievements-on-your-profile
18+
- /manage-visibility-settings-for-private-contributions-and-achievements
1919
- /sharing-contributions-from-github-enterprise-server
2020
- /troubleshooting-missing-contributions
21-
- /troubleshooting-commits-on-your-timeline
21+
- /viewing-commit-details-from-your-timeline
2222
shortTitle: Manage contribution settings
2323
---
2424

content/account-and-profile/how-tos/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/showing-your-private-contributions-and-achievements-on-your-profile.md renamed to content/account-and-profile/how-tos/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/manage-visibility-settings-for-private-contributions-and-achievements.md

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,26 @@
11
---
2-
title: 'Showing your private contributions {% ifversion hide-individual-achievements %}and achievements {% endif %}on your profile'
3-
intro: Your profile shows a graph of your repository contributions over the past year. You can choose to show anonymized activity from private and internal repositories in addition to the activity from public repositories.
2+
title: Manage visibility settings for private contributions {% ifversion hide-individual-achievements %}and achievements {% endif %}
3+
intro: Show anonymized activity from private and internal repositories.
44
redirect_from:
55
- /articles/publicizing-or-hiding-your-private-contributions-on-your-profile
66
- /github/setting-up-and-managing-your-github-profile/publicizing-or-hiding-your-private-contributions-on-your-profile
77
- /github/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/publicizing-or-hiding-your-private-contributions-on-your-profile
88
- /account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/publicizing-or-hiding-your-private-contributions-on-your-profile
99
- /account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/showing-your-private-contributions-and-achievements-on-your-profile
10+
- /account-and-profile/how-tos/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/showing-your-private-contributions-and-achievements-on-your-profile
1011
versions:
1112
fpt: '*'
1213
ghes: '*'
1314
ghec: '*'
1415
topics:
1516
- Profiles
16-
shortTitle: 'Private contributions {% ifversion hide-individual-achievements %}and achievements{% endif %}'
17+
shortTitle: Private contributions {% ifversion hide-individual-achievements %}and achievements{% endif %}
1718
allowTitleToDifferFromFilename: true
19+
contentType: how-tos
1820
---
1921

20-
{% ifversion ghec %}
21-
22-
>[!NOTE] Achievements are not available on subdomains of {% data variables.enterprise.data_residency_site %}, such as `octocorp.ghe.com`.
23-
24-
{% endif %}
25-
26-
If you publicize your private contributions, people without access to the private repositories you work in won't be able to see the details of your private contributions. Instead, they'll see the number of private contributions you made on any given day. Your public contributions will include detailed information. For more information, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/viewing-contributions-on-your-profile).
27-
28-
>[!NOTE] On {% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom_the_website %}{% elsif ghes %}{% data variables.product.prodname_ghe_server %}{% endif %}, public contributions on your profile are visible {% ifversion fpt or ghec %}to anyone in the world who can access {% data variables.product.prodname_dotcom_the_website %}{% elsif ghes %}only to other users of {% data variables.location.product_location %}{% endif %}.
29-
3022
## Changing the visibility of your private contributions
3123

32-
You can choose to publicize your private contributions, which allows visitors to your profile to see private contribution counts, without further details.
33-
34-
If you choose to hide your private contributions, visitors will only see your public contributions.
35-
3624
{% data reusables.profile.access_profile %}
3725
1. Above the contribution calendar, click **Contribution settings**.
3826

@@ -63,7 +51,6 @@ You can hide an individual achievement on your profile. When hidden, badges are
6351

6452
{% endif %}
6553

66-
## Further reading
54+
## Next steps
6755

68-
* [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/viewing-contributions-on-your-profile)
69-
* [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/why-are-my-contributions-not-showing-up-on-my-profile)
56+
For more information about contribution visibility, see [AUTOTITLE](/account-and-profile/reference/profile-contributions-reference#who-can-see-your-contributions-and-achievements).

content/account-and-profile/how-tos/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/sharing-contributions-from-github-enterprise-server.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,7 @@ topics:
1919
shortTitle: Send enterprise contributions
2020
---
2121

22-
## About enterprise contributions
23-
24-
When you share contributions, your {% data variables.product.prodname_dotcom_the_website %} or {% data variables.enterprise.data_residency_site %} profile shows {% data variables.product.prodname_ghe_server %} contribution counts from the past 90 days. {% data reusables.github-connect.sync-frequency %} Contribution counts from {% data variables.product.prodname_ghe_server %} are considered private contributions. The commit details will only show the contribution counts and that these contributions were made on {% data variables.product.prodname_ghe_server %}.
25-
26-
You can decide whether to show counts for private contributions on your profile. For more information, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/showing-your-private-contributions-and-achievements-on-your-profile).
27-
28-
For more information about how contributions are calculated, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile).
29-
30-
> [!NOTE]
22+
> [!IMPORTANT]
3123
> The connection between your accounts is governed by [GitHub's Privacy Statement](/free-pro-team@latest/site-policy/privacy-policies/github-privacy-statement) and users enabling the connection must agree to the [GitHub Terms of Service](/free-pro-team@latest/site-policy/github-terms/github-terms-of-service).
3224
3325
## Sending your enterprise contributions to your profile
@@ -36,7 +28,7 @@ Before you can connect your {% data variables.product.prodname_ghe_server %} pro
3628

3729
{% ifversion fpt or ghec %}
3830

39-
To share contributions from {% data variables.product.prodname_ghe_server %}, view this article in the [{% data variables.product.prodname_ghe_server %} version of the site](/enterprise-server@latest/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/sending-enterprise-contributions-to-your-githubcom-profile)."
31+
To share contributions from {% data variables.product.prodname_ghe_server %}, switch to the [{% data variables.product.prodname_ghe_server %} version of this article](/enterprise-server@latest/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/sending-enterprise-contributions-to-your-githubcom-profile).
4032

4133
{% elsif ghes %}
4234

content/account-and-profile/how-tos/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/showing-an-overview-of-your-activity-on-your-profile.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,13 @@ topics:
1616
shortTitle: Show an overview
1717
---
1818

19-
## About the activity overview
20-
21-
{% data reusables.profile.activity-overview-summary %} For more information, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/viewing-contributions-on-your-profile).
22-
23-
![Screenshot of the activity overview section of a user profile.](/assets/images/help/profile/activity-overview-section.png)
24-
2519
## Managing the visibility of the activity overview on your profile
2620

2721
{% data reusables.profile.access_profile %}
2822
1. Above your contributions graph, select the **Contribution settings** dropdown menu, then click **Activity overview**.
2923

3024
![Screenshot of the contributions graph on a user profile. A dropdown menu, labeled "Contribution settings", is highlighted with an orange outline.](/assets/images/help/profile/activity-overview.png)
25+
26+
## Next steps
27+
28+
For more information about what is visible on your profile, see [AUTOTITLE](/account-and-profile/reference/profile-contributions-reference).

content/account-and-profile/how-tos/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/troubleshooting-commits-on-your-timeline.md

Lines changed: 0 additions & 64 deletions
This file was deleted.
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
title: Viewing commit details from your timeline
3+
intro: You can view details for commits from your profile's timeline. If you don't see commits you expect on your profile or can't find commit details from your profile page, the commit date and the commit author date may be different.
4+
redirect_from:
5+
- /articles/troubleshooting-commits-on-your-timeline
6+
- /github/setting-up-and-managing-your-github-profile/troubleshooting-commits-on-your-timeline
7+
- /github/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/troubleshooting-commits-on-your-timeline
8+
- /account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/troubleshooting-commits-on-your-timeline
9+
- /account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/troubleshooting-commits-on-your-timeline
10+
- /account-and-profile/how-tos/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/troubleshooting-commits-on-your-timeline
11+
versions:
12+
fpt: '*'
13+
ghes: '*'
14+
ghec: '*'
15+
topics:
16+
- Profiles
17+
shortTitle: Viewing commit details
18+
contentType: how-tos
19+
---
20+
21+
## View commit details
22+
23+
1. In the "Contribution activity" section of your profile, click the number of commits next to a specific repository.
24+
25+
![Screenshot of the "Contribution activity" section of a user profile. A link, labeled "29 commits" is highlighted with an orange outline.](/assets/images/help/profile/commit-link-on-profile-timeline.png)
26+
27+
## Finding missing commits in your timeline
28+
29+
If you can't find expected commits on your profile, the commit history may have been rewritten, creating different author and commit dates. Follow these steps to locate missing commits:
30+
31+
1. To check if the author date differs from the commit date, use the `git show` command:
32+
33+
```shell
34+
$ git show YOUR_COMMIT_SHA_NUMBER --pretty=fuller
35+
commit YOUR_COMMIT_SHA_NUMBER
36+
Author: octocat USER_EMAIL
37+
AuthorDate: Tue Apr 03 02:02:30 2018 +0900
38+
Commit: Sally Johnson USER_EMAIL
39+
CommitDate: Tue Apr 10 06:25:08 2018 +0900
40+
```
41+
42+
1. If the dates differ, modify the GitHub URL to search by the specific date:
43+
44+
* To search by author date (`2018-04-03`):
45+
46+
`https://github.com/your-organization-or-personal-account/your-repository/commits?author=octocat&since=2018-04-03T00:00:00Z&until=2018-04-03T23:59:59Z`
47+
48+
* To search by commit date (`2018-04-10`):
49+
50+
`https://github.com/your-organization-or-personal-account/your-repository/commits?author=octocat&since=2018-04-10T00:00:00Z&until=2018-04-10T23:59:59Z`
51+
52+
1. Open the modified URL in your browser to view the commit details.
53+
54+
## Next steps
55+
56+
If you're not seeing expected commits on your timeline, it's possible the commit history in Git was rewritten and the commit author date and the commit date are different. For other possibilities, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/why-are-my-contributions-not-showing-up-on-my-profile).
57+
58+
For other reference information, see [AUTOTITLE](/account-and-profile/reference/profile-contributions-reference#how-github-uses-the-git-author-date-and-commit-date).

content/account-and-profile/reference/profile-contributions-reference.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,20 @@ In addition, **at least one** of the following must be true:
4848
* You have forked the repository.
4949
* You have opened a pull request or issue in the repository.
5050

51+
## Who can see your contributions and achievements
52+
53+
On {% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom_the_website %}{% elsif ghes %}{% data variables.product.prodname_ghe_server %}{% endif %}, **public** contributions on your profile are visible {% ifversion fpt or ghec %}to anyone in the world who can access {% data variables.product.prodname_dotcom_the_website %}{% elsif ghes %}only to other users of {% data variables.location.product_location %}{% endif %}.
54+
55+
When you publicize private contributions, people without access to those private repositories will see the number of contributions you made each day. They will not see specific details.
56+
57+
{% ifversion ghec %}
58+
59+
### {% data variables.enterprise.data_residency %}
60+
61+
Achievements are not available on subdomains of {% data variables.enterprise.data_residency_site %}, such as `octocorp.ghe.com`.
62+
63+
{% endif %}
64+
5165
## Who receives contribution credit
5266

5367
{% ifversion ghes %}
@@ -69,3 +83,15 @@ If you merged multiple personal accounts, issues, pull requests, and discussions
6983
Timestamps are calculated differently for commits and pull requests:
7084
* **Commits** use the time zone information in the commit timestamp. For more information, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/troubleshooting-commits-on-your-timeline).
7185
* **Pull requests** and **issues** opened on {% data variables.product.github %} use your browser's time zone. Those opened via the API use the timestamp or time zone [specified in the API call](https://developer.github.com/changes/2014-03-04-timezone-handling-changes).
86+
87+
## How GitHub uses the Git author date and commit date
88+
89+
In Git, the author date is when someone first creates a commit with `git commit`. The commit date is identical to the author date unless someone changes the commit date by using `git commit --amend`, a force push, a rebase, or other Git commands.
90+
91+
On your profile page, the author date is used to calculate when a commit was made. Whereas, in a repository, the commit date is used to calculate when a commit was made in the repository.
92+
93+
Most often, the author date and commit date are the same but you may notice that your commit sequence is out of order if the commit history is changed. For more information, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/why-are-my-contributions-not-showing-up-on-my-profile).
94+
95+
## Sharing contributions from {% data variables.product.prodname_ghe_server %}
96+
97+
When you share contributions, your {% data variables.product.prodname_dotcom_the_website %} or {% data variables.enterprise.data_residency_site %} profile shows {% data variables.product.prodname_ghe_server %} contribution counts from the past 90 days. {% data reusables.github-connect.sync-frequency %} Contribution counts from {% data variables.product.prodname_ghe_server %} are considered private contributions. The commit details will only show the contribution counts and that these contributions were made on {% data variables.product.prodname_ghe_server %}.

0 commit comments

Comments
 (0)