Skip to main content

此版本的 GitHub Enterprise 已停止服务 2022-10-12. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持

Viewing contributions on your profile

Your GitHub Enterprise Server profile shows off your pinned repositories, Achievements, and a graph of your repository contributions over the past year.

Your contribution graph and Achievements show activity from public repositories. You can choose to show activity from both public and private repositories, with specific details of your activity in private repositories anonymized. For more information, see "Publicizing or hiding your private contributions on your profile."

Note: Commits will only appear on your contributions graph if the email address you used to author the commits is connected to your account on GitHub Enterprise Server. For more information, see "Why are my contributions not showing up on my profile?"

What counts as a contribution

On your profile page, certain actions count as contributions:

  • Committing to a repository's default branch or gh-pages branch
  • Opening an issue
  • Opening a discussion
  • Answering a discussion
  • Proposing a pull request
  • Submitting a pull request review
  • Co-authoring commits in a repository's default branch or gh-pages branch

Notes:

  • To appear on your profile contributions graph, co-authored commits must meet the same criteria as commits with one author.
  • When rebasing commits, the original authors of the commit and the person who rebased the commits, whether on the command line or on your GitHub Enterprise Server instance, receive contribution credit.

This section displays your repositories with the most watchers. Once you pin repositories to your profile, this section will change to "Pinned repositories."

Popular repositories

Pinned repositories

This section displays up to six public repositories and can include your repositories as well as repositories you've contributed to. To easily see important details about the repositories you've chosen to feature, each repository in this section includes a summary of the work being done, the number of stars the repository has received, and the main programming language used in the repository. For more information, see "Pinning repositories to your profile."

Pinned repositories

Contributions calendar

Your contributions calendar shows your contribution activity.

Viewing contributions from specific times

  • Click on a day's square to show the contributions made during that 24-hour period.
  • Press Shift and click on another day's square to show contributions made during that time span.

Note: You can select up to a one-month range on your contributions calendar. If you select a larger time span, we will only display one month of contributions.

Your contributions graph

How contribution event times are calculated

Timestamps are calculated differently for commits and pull requests:

Activity overview

在您的个人资料上启用活动概述部分时, 查看者可以看到更多有关您做出的贡献类型和参与最积极的仓库等信息。 查看者在活动概述中只能看到他们已读过的仓库相关信息。 一旦启用,查看者还可过滤特定组织的贡献图和活动时间表。 For more information, see "Showing an overview of your activity on your profile."

Activity overview section on profile

The organizations featured in the activity overview are prioritized according to how active you are in the organization. If you @mention an organization in your profile bio, and you’re an organization member, then that organization is prioritized first in the activity overview. For more information, see "Mentioning people and teams" or "Adding a bio to your profile."

Contribution activity

The contribution activity section includes a detailed timeline of your work, including commits you've made or co-authored, pull requests you've proposed, and issues you've opened. You can see your contributions over time by either clicking Show more activity at the bottom of your contribution activity or by clicking the year you're interested in viewing on the right side of the page. Important moments, like the date you joined an organization, proposed your first pull request, or opened a high-profile issue, are highlighted in your contribution activity. If you can't see certain events in your timeline, check to make sure you still have access to the organization or repository where the event happened.

Contribution activity time filter

Viewing contributions from GitHub Enterprise on GitHub.com

If you use GitHub Enterprise Server and your enterprise owner enables unified contributions, you can send enterprise contribution counts from to your GitHub.com profile. For more information, see "Sending enterprise contributions to your GitHub.com profile."