Skip to main content

为你的企业设置 GitHub Copilot

在整个企业中启用 GitHub Copilot ,以便开发人员可以更快地编写代码。

谁可以使用此功能?

Enterprise owners

Enterprises with a Copilot Enterprise or Copilot业务 plan

启用 GitHub Copilot

  1. 导航到您的企业。 例如,从 GitHub.com 上的 公司 页面。
  2. 在页面顶部,单击 “Settings”********。
  3.        **
           <svg version="1.1" width="16" height="16" viewBox="0 0 16 16" class="octicon octicon-check-circle" aria-label="check-circle" role="img"><path d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm1.5 0a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm10.28-1.72-4.5 4.5a.75.75 0 0 1-1.06 0l-2-2a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018l1.47 1.47 3.97-3.97a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"></path></svg>
           **单击“入门”选项卡。
    
  4. 在“Next steps”下,单击“Verify your payment method”****。

若要确认 Copilot 已启用,请检查企业的 “AI 控件 ”选项卡。

设置策略

控制企业中可用的 Copilot 功能。 请参阅“管理企业中 GitHub Copilot 的策略和功能”。

配置网络

如果企业使用 HTTP 代理服务器或防火墙,请将所需的 URL 添加到允许列表。 请参阅“Copilot 允许列表参考”。

如果环境使用自定义 SSL 证书,请在用户的计算机上安装它们。 请参阅“为 GitHub Copilot 配置网络设置”。

分配许可证

可通过两种主要方式授予对企业中 Copilot 的访问权限:

  • **** 将许可证直接分配给企业中的用户或团队。 此方法简化了大规模许可证管理流程,并提供了向不使用 Copilot 许可证的用户授予 GitHub Enterprise 许可证的选择。 **** 此方法目前仅适用于 Copilot业务 许可证。
  • 为组织启用 Copilot。**** 此方法使你能够为单个组织选择 Copilot业务 或 Copilot Enterprise,并为组织所有者提供相应的控制权,向最需要许可证的用户授予许可证。

有关说明,请参阅“授予用户访问企业中的 GitHub Copilot 权限”。

提示

如果企业使用 GHE.com,用户需要额外设置才能从其开发环境进行身份验证。 请参阅“在 GHE.com 上将 GitHub Copilot 与帐户配合使用”。

后续步骤