Skip to main content

Enterprise Server 3.15 目前作为候选发布提供。

Sharing contributions from GitHub Enterprise Server

You can send contribution counts from GitHub Enterprise Server to your profile on GitHub.com or GHE.com.

About enterprise contributions

When you share contributions, your GitHub.com or GHE.com profile shows GitHub Enterprise Server contribution counts from the past 90 days. GitHub Enterprise Server 每小时发送更新。 Contribution counts from GitHub Enterprise Server are considered private contributions. The commit details will only show the contribution counts and that these contributions were made on GitHub Enterprise Server.

You can decide whether to show counts for private contributions on your profile. For more information, see "在个人资料上显示你的专用贡献."

For more information about how contributions are calculated, see "管理个人资料中的贡献设置."

Note

The connection between your accounts is governed by GitHub's Privacy Statement and users enabling the connection must agree to the GitHub Terms of Service.

Sending your enterprise contributions to your profile

Before you can connect your GitHub Enterprise Server profile to your GitHub.com or GHE.com profile, your enterprise owner must enable GitHub Connect and enable contribution sharing between the environments. For more information, contact your enterprise owner.

  1. Sign in to both your user account on GitHub Enterprise Server and your user account on GitHub Enterprise Cloud (GitHub.com or GHE.com).

  2. On GitHub Enterprise Server, in the upper-right corner of any page, click your profile photo, then click Settings.

    Screenshot of a user's account menu on GitHub. The menu item "Settings" is outlined in dark orange.

  3. 在左侧边栏中,单击“GitHub Connect”。

  4. 单击“连接 GitHub.com”。

  5. Review the resources that GitHub Enterprise Server will access from your GitHub.com or GHE.com account, then click Authorize.

  6. 在“贡献”下,选择“将我的贡献计数发送到 GitHub.com”,然后单击“更新贡献”********。