Skip to main content

Verwalten von Richtlinien und Features für Copilot in Ihrer Organisation

Erfahren Sie, wie Sie in Ihrer Organisation Richtlinien für Copilot Enterprise und GitHub Copilot Business verwalten.

Wer kann dieses Feature verwenden?

Organization owners can configure policies for GitHub Copilot for their organization.

About managing policies for GitHub Copilot

GitHub Copilot Enterprise and GitHub Copilot Business are GitHub Copilot subscriptions, managed at the enterprise and organization levels. Organization owners can manage policies for the use of GitHub Copilot within the organization. The policy settings selected by an organization owner determine the behavior of GitHub Copilot for all organization members granted access to Copilot through the organization.

Enterprise owners can manage policies for organizations within the enterprise. Where explicit settings have been selected at the enterprise level, an organization owner cannot override those settings at the organization level. For more information on managing policies at the enterprise level, see "Enforcing policies for GitHub Copilot in your enterprise."

Configuring suggestion matching policies for GitHub Copilot in your organization

GitHub Copilot includes a filter which detects code suggestions that match public code on GitHub. Copilot checks code suggestions with their surrounding code of about 150 characters against public code on GitHub. If your suggestion matching policy is configured to block matching code, matching suggestions will not be shown to you.

If your enterprise admin has selected No policy for suggestion matching at the enterprise level, you can set a suggestion matching policy for your organization. If an organization member is assigned a seat by multiple organizations with different suggestion matching policies under the same enterprise, GitHub Copilot will use the most restrictive policy.

  1. In the upper-right corner of GitHub.com, select your profile photo, then click Your organizations.

    Screenshot of the dropdown menu under @octocat's profile picture. "Your organizations" is outlined in dark orange.

  2. Next to the organization, click Settings.

  3. In the "Code, planning, and automation" section of the sidebar, click Copilot, and then click Policies.

  4. Under "Policies", in the "Suggestions matching public code" dropdown, select Allowed or Blocked.

Enabling features of GitHub Copilot in your organization

If your enterprise admin has selected No policy for the following features, you can enable or disable these for your organization.

  • Suggestions matching public code
  • Copilot in GitHub.com (if your organization has a Copilot Enterprise subscription)
  • Copilot Chat in the IDE
  • Copilot in the CLI
  1. In the upper-right corner of GitHub.com, select your profile photo, then click Your organizations.

    Screenshot of the dropdown menu under @octocat's profile picture. "Your organizations" is outlined in dark orange.

  2. Next to the organization, click Settings.

  3. In the "Code, planning, and automation" section of the sidebar, click Copilot, and then click Policies.

  4. Use the dropdown options to the right of each feature to enable or disable that feature for your organization.

  5. If your organization has a Copilot Enterprise subscription and you enable Copilot in GitHub.com, the option Give Copilot access to Bing is displayed. Depending on your enterprise settings, you may be able to enable this option. When this option is enabled, Copilot Chat will use search results from Bing to answer some questions.

Further reading