Skip to main content

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

Showing your private contributions on your profile

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.

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 在个人资料中查看贡献.

注意

On GitHub Enterprise Server, public contributions on your profile are visible only to other users of 你的 GitHub Enterprise Server 实例.

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.

  1. 在 GitHub 的右上角,单击个人资料照片,然后单击“你的个人资料”。

    @octocat 的个人资料图片下的下拉菜单的屏幕截图。 “你的个人资料”用深橙色框出。

  2. Above the contribution calendar, click Contribution settings.

    Screenshot of the "Contribution settings" link, highlighted with a dark orange outline.

  3. Click Private contributions to show or hide private contributions on your profile.

Further reading