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 GitHub.com. 您可以在两种环境之间同步许可数和使用情况。
If you allow 您的 GitHub Enterprise Server 实例 to connect to your enterprise account on GitHub.com, you can sync license usage between the environments automatically. Automatic synchronization ensures that you see up-to-date license details on GitHub.com. If you don't want to allow your GitHub Enterprise Server instance to connect to GitHub.com, you can manually sync license usage by uploading a file from your GitHub Enterprise Server instance to GitHub.com.
For more information about licenses and usage for GitHub Enterprise Server, see "About licenses for GitHub Enterprise."
Automatically syncing license usage
You can use GitHub Connect to automatically sync user license count and usage between GitHub Enterprise Server and GitHub Enterprise Cloud. For more information, see "Enabling automatic user license sync for your enterprise."
Manually syncing license usage
You can download a JSON file from GitHub Enterprise Server and upload the file to GitHub Enterprise Cloud to manually sync user license usage between the two deployments.
-
在 GitHub Enterprise Server 的右上角,单击您的个人资料照片,然后单击 Enterprise settings(Enterprise 设置)。
-
在企业帐户侧边� �中,单击 Settings(设置)。
-
在左侧边� �中,单击 License(许可)。
-
Under "Quick links", to download a file containing your current license usage on GitHub Enterprise Server, click Export license usage.
-
导航至 GitHub.com。
-
在 GitHub.com 的右上角,单击您的个人资料照片,然后单击 Your enterprises(您的企业)。
-
在企业列表中,单击您想要查看的企业。
-
在企业帐户侧边� �中,单击 Settings(设置)。
-
In the left sidebar, click Enterprise licensing.
-
在左侧边� �中,单击 License(许可)。
-
Under "Enterprise Server Instances", click Add server usage.
-
Upload the JSON file you downloaded from GitHub Enterprise Server.