Managing GitHub Connect

You can enable GitHub Connect to access additional features and workflows for your GitHub Enterprise Server instance.

关于 GitHub Connect

You can access additional features and workflows on your GitHub Enterprise Server instance by enabling GitHub Connect. 更多信息请参阅“关于 GitHub Connect”。

When you enable GitHub Connect, you configure a connection between your GitHub Enterprise Server instance and an organization or enterprise account on GitHub Enterprise Cloud. Enabling GitHub Connect creates a GitHub 应用程序 owned by the organization or enterprise account on GitHub Enterprise Cloud. GitHub Enterprise Server 使用 GitHub 应用程序 的凭据向 GitHub Enterprise Cloud 发送请求。

GitHub Enterprise Server 会存储来自 GitHub 应用程序 的凭据。 The following credentials will be replicated to all nodes in a high availability or cluster environment, and stored in any backups, including snapshots created by GitHub Enterprise Server 备份实用程序.

  • 有效期为一小时的身份验证令牌
  • 用于生成新的身份验证令牌的私钥

基本要求

To use GitHub Connect, you must have an organization or enterprise account on GitHub.com that uses GitHub Enterprise Cloud. You may already have GitHub Enterprise Cloud included in your plan. For more information about how you can try GitHub Enterprise Cloud for free, see "Setting up a trial of GitHub Enterprise Cloud."

To configure a connection, your proxy configuration must allow connectivity to github.com, api.github.com, and uploads.github.com. 更多信息请参阅“配置出站 Web 代理服务器”。

启用 GitHub Connect

Enterprise owners who are also owners of an organization or enterprise account that uses GitHub Enterprise Cloud can enable GitHub Connect.

If you're connecting your GitHub Enterprise Server instance to an organization on GitHub Enterprise Cloud that is not owned by an enterprise account, you must sign into GitHub.com as an organization owner.

If you're connecting your GitHub Enterprise Server instance to an organization on GitHub Enterprise Cloud that is owned by an enterprise account or to an enterprise account itself, you must sign into GitHub.com as an enterprise owner.

  1. 登录到 your GitHub Enterprise Server instance 和 GitHub.com。

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

  3. In the enterprise account sidebar, click GitHub Connect. GitHub Connect tab in the enterprise account sidebar

  4. 在“GitHub Connect is not enabled yet”下,单击 Enable GitHub Connect。 By clicking Enable GitHub Connect, you agree to the "GitHub Terms for Additional Products and Features."

Enable GitHub Connect button

  1. 在要连接的企业帐户或组织旁,单击 Connect企业帐户或企业旁边的连接按钮

禁用 GitHub Connect

Enterprise owners can disable GitHub Connect.

与 GitHub Enterprise Cloud 断开连接后,GitHub Connect GitHub 应用程序 会从企业帐户或组织中删除,your GitHub Enterprise Server instance 上存储的凭据也会删除。

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

  2. In the enterprise account sidebar, click GitHub Connect. GitHub Connect tab in the enterprise account sidebar

  3. 在要断开连接的企业帐户或组织旁,单击 Disable GitHub Connect

    企业帐户或组织名称旁的 Disable GitHub Connect 按钮

  4. 阅读有关断开连接的信息,并单击 Disable GitHub Connect包含关于断开连接的警告信息和确认按钮的模式窗口

此文档对您有帮助吗?

隐私政策

帮助我们创建出色的文档!

所有 GitHub 文档都是开源的。看到错误或不清楚的内容了吗?提交拉取请求。

做出贡献

或者, 了解如何参与。