1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Update "Manage contribution settings" map topic (#57469)

This commit is contained in:
Joe Clark
2025-09-11 12:15:09 -07:00
committed by GitHub
parent 2056cc2f47
commit aa363307d5
7 changed files with 99 additions and 102 deletions

View File

@@ -15,10 +15,10 @@ topics:
children:
- /showing-an-overview-of-your-activity-on-your-profile
- /viewing-contributions-on-your-profile
- /showing-your-private-contributions-and-achievements-on-your-profile
- /manage-visibility-settings-for-private-contributions-and-achievements
- /sharing-contributions-from-github-enterprise-server
- /troubleshooting-missing-contributions
- /troubleshooting-commits-on-your-timeline
- /viewing-commit-details-from-your-timeline
shortTitle: Manage contribution settings
---

View File

@@ -1,38 +1,26 @@
---
title: 'Showing your private contributions {% ifversion hide-individual-achievements %}and achievements {% endif %}on your profile'
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.
title: Manage visibility settings for private contributions {% ifversion hide-individual-achievements %}and achievements {% endif %}
intro: Show anonymized activity from private and internal repositories.
redirect_from:
- /articles/publicizing-or-hiding-your-private-contributions-on-your-profile
- /github/setting-up-and-managing-your-github-profile/publicizing-or-hiding-your-private-contributions-on-your-profile
- /github/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/publicizing-or-hiding-your-private-contributions-on-your-profile
- /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
- /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
- /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
versions:
fpt: '*'
ghes: '*'
ghec: '*'
topics:
- Profiles
shortTitle: 'Private contributions {% ifversion hide-individual-achievements %}and achievements{% endif %}'
shortTitle: Private contributions {% ifversion hide-individual-achievements %}and achievements{% endif %}
allowTitleToDifferFromFilename: true
contentType: how-tos
---
{% ifversion ghec %}
>[!NOTE] Achievements are not available on subdomains of {% data variables.enterprise.data_residency_site %}, such as `octocorp.ghe.com`.
{% endif %}
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).
>[!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 %}.
## Changing the visibility of your private contributions
You can choose to publicize your private contributions, which allows visitors to your profile to see private contribution counts, without further details.
If you choose to hide your private contributions, visitors will only see your public contributions.
{% data reusables.profile.access_profile %}
1. Above the contribution calendar, click **Contribution settings**.
@@ -63,7 +51,6 @@ You can hide an individual achievement on your profile. When hidden, badges are
{% endif %}
## Further reading
## Next steps
* [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/viewing-contributions-on-your-profile)
* [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)
For more information about contribution visibility, see [AUTOTITLE](/account-and-profile/reference/profile-contributions-reference#who-can-see-your-contributions-and-achievements).

View File

@@ -19,15 +19,7 @@ topics:
shortTitle: Send enterprise contributions
---
## About enterprise contributions
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 %}.
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).
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).
> [!NOTE]
> [!IMPORTANT]
> 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).
## Sending your enterprise contributions to your profile
@@ -36,7 +28,7 @@ Before you can connect your {% data variables.product.prodname_ghe_server %} pro
{% ifversion fpt or ghec %}
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)."
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).
{% elsif ghes %}

View File

@@ -16,15 +16,13 @@ topics:
shortTitle: Show an overview
---
## About the activity overview
{% 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).
![Screenshot of the activity overview section of a user profile.](/assets/images/help/profile/activity-overview-section.png)
## Managing the visibility of the activity overview on your profile
{% data reusables.profile.access_profile %}
1. Above your contributions graph, select the **Contribution settings** dropdown menu, then click **Activity overview**.
![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)
## Next steps
For more information about what is visible on your profile, see [AUTOTITLE](/account-and-profile/reference/profile-contributions-reference).

View File

@@ -1,64 +0,0 @@
---
title: Troubleshooting commits on your timeline
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.'
redirect_from:
- /articles/troubleshooting-commits-on-your-timeline
- /github/setting-up-and-managing-your-github-profile/troubleshooting-commits-on-your-timeline
- /github/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/troubleshooting-commits-on-your-timeline
- /account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/troubleshooting-commits-on-your-timeline
- /account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/troubleshooting-commits-on-your-timeline
versions:
fpt: '*'
ghes: '*'
ghec: '*'
topics:
- Profiles
shortTitle: Troubleshoot commits
---
## Expected behavior to view commit details
In the "Contribution activity" section of your profile page, you can click the number of commits next to a specific repository to see more details about your commits from that time period, including a diff of specific changes made in a repository.
![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)
## Missing commit details from commits in your timeline
If you click a commit link from your profile page and don't see all of the expected commits on the repository's commits page, then it's possible the commit history in Git was rewritten and the commit author date and the commit date are different.
## How GitHub uses the Git author date and commit date
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.
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.
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)
## Viewing missing commit details from commits in your timeline
You can use the `git show` command with the `--pretty=fuller` flag to check if the commit author date and commit date are different.
```shell
$ git show YOUR_COMMIT_SHA_NUMBER --pretty=fuller
commit YOUR_COMMIT_SHA_NUMBER
Author: octocat USER_EMAIL
AuthorDate: Tue Apr 03 02:02:30 2018 +0900
Commit: Sally Johnson USER_EMAIL
CommitDate: Tue Apr 10 06:25:08 2018 +0900
```
If the author and commit date are different, you can manually change the commit date in the URL to see the commit details.
For example:
* This URL uses the author date of `2018-04-03`:
`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`
* This URL uses the commit date of `2018-04-10`:
`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`
When you open the URL with the modified commit date, you can see the commit details.
## Expected commits missing in your timeline
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)

View File

@@ -0,0 +1,58 @@
---
title: Viewing commit details from your timeline
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.
redirect_from:
- /articles/troubleshooting-commits-on-your-timeline
- /github/setting-up-and-managing-your-github-profile/troubleshooting-commits-on-your-timeline
- /github/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/troubleshooting-commits-on-your-timeline
- /account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/troubleshooting-commits-on-your-timeline
- /account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/troubleshooting-commits-on-your-timeline
- /account-and-profile/how-tos/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/troubleshooting-commits-on-your-timeline
versions:
fpt: '*'
ghes: '*'
ghec: '*'
topics:
- Profiles
shortTitle: Viewing commit details
contentType: how-tos
---
## View commit details
1. In the "Contribution activity" section of your profile, click the number of commits next to a specific repository.
![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)
## Finding missing commits in your timeline
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:
1. To check if the author date differs from the commit date, use the `git show` command:
```shell
$ git show YOUR_COMMIT_SHA_NUMBER --pretty=fuller
commit YOUR_COMMIT_SHA_NUMBER
Author: octocat USER_EMAIL
AuthorDate: Tue Apr 03 02:02:30 2018 +0900
Commit: Sally Johnson USER_EMAIL
CommitDate: Tue Apr 10 06:25:08 2018 +0900
```
1. If the dates differ, modify the GitHub URL to search by the specific date:
* To search by author date (`2018-04-03`):
`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`
* To search by commit date (`2018-04-10`):
`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`
1. Open the modified URL in your browser to view the commit details.
## Next steps
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).
For other reference information, see [AUTOTITLE](/account-and-profile/reference/profile-contributions-reference#how-github-uses-the-git-author-date-and-commit-date).

View File

@@ -48,6 +48,20 @@ In addition, **at least one** of the following must be true:
* You have forked the repository.
* You have opened a pull request or issue in the repository.
## Who can see your contributions and achievements
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 %}.
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.
{% ifversion ghec %}
### {% data variables.enterprise.data_residency %}
Achievements are not available on subdomains of {% data variables.enterprise.data_residency_site %}, such as `octocorp.ghe.com`.
{% endif %}
## Who receives contribution credit
{% ifversion ghes %}
@@ -69,3 +83,15 @@ If you merged multiple personal accounts, issues, pull requests, and discussions
Timestamps are calculated differently for commits and pull requests:
* **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).
* **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).
## How GitHub uses the Git author date and commit date
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.
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.
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).
## Sharing contributions from {% data variables.product.prodname_ghe_server %}
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 %}.