Skip to main content

Syncing license usage between GitHub Enterprise Server and GitHub Enterprise Cloud

You can sync license usage from GitHub Enterprise Server to GitHub Enterprise Cloud to view all license usage across your enterprise in one place and ensure that people with accounts in both environments only consume one user license.

Enterprise owners can sync license usage between enterprise accounts on GitHub Enterprise Server and GitHub Enterprise Cloud.

About synchronization of license usage

You can allocate the user count for your GitHub Enterprise license to members of both 您的 GitHub Enterprise Server 实例 and an enterprise account on GitHub Enterprise Cloud. When you add a user to either environment, the user will consume one license. If a user has accounts in both environments, to consume only one license, the user's primary email address on 您的 GitHub Enterprise Server 实例 must be the same as the user's verified email address on 您可以在两种环境之间同步许可数和使用情况。

If you allow 您的 GitHub Enterprise Server 实例 to connect to your enterprise account on, you can sync license usage between the environments automatically. Automatic synchronization ensures that you see up-to-date license details on If you don't want to allow your GitHub Enterprise Server instance to connect to, you can manually sync license usage by uploading a file from your GitHub Enterprise Server instance to

For more information about licenses and usage for GitHub Enterprise Server, see "About licenses for GitHub Enterprise."

Automatically syncing license usage

您可以使用 GitHub Connect 在 GitHub Enterprise Server 和 GitHub Enterprise Cloud 之间自动同步用户许可数量和使用情况。 For more information, see "Enabling automatic user license sync for your enterprise."

Manually syncing license usage

您可以从 GitHub Enterprise Server 下载 JSON 文件并将文件上传到 GitHub Enterprise Cloud,在两个部署之间手动同步用户许可使用情况。

  1. 在 GitHub Enterprise Server 的右上角,单击您的个人资料照片,然后单击 Enterprise settings(Enterprise 设置)GitHub Enterprise Server 上个人资料照片下拉菜单中的"Enterprise settings(企业设置)"

  2. 在企业帐户侧边栏中,单击 Settings(设置)企业帐户侧边栏中的“设置”选项卡

  3. 在左侧边栏中,单击 License(许可)企业帐户设置边栏中的"License(许可)"选项卡

  4. 在“Quick links”下,要下载包含 GitHub Enterprise Server 上当前许可使用情况的文件,请单击 Export license usageExport license usage 链接

  5. 导航至。

  6. 在 的右上角,单击您的个人资料照片,然后单击 Your enterprises(您的企业)GitHub Enterprise Server 上个人资料照片下拉菜单中的"Your enterprises(您的企业)"

  7. 在企业列表中,单击您想要查看的企业。 企业列表中的企业名称

  8. 在企业帐户侧边栏中,单击 Settings(设置)企业帐户侧边栏中的“设置”选项卡

  9. 在左侧边栏中,单击 Enterprise licensing(企业许可)企业帐户设置侧边栏中的"Enterprise licensing(企业许可)"选项卡

  10. 在左侧边栏中,单击 License(许可)企业帐户设置边栏中的"License(许可)"选项卡

  11. 在“Enterprise Server Instances(Enterprise Server 实例)”下,单击 Add server usage(添加服务器使用情况)Upload GitHub Enterprise Servers usage 链接

  12. 上传从 GitHub Enterprise Server 下载的 JSON 文件。 拖放或选择要上传的文件