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 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 Business is a GitHub Copilot subscription, managed at the organization level. 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.

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.

  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

You can enable or disable the following features for GitHub Copilot.

  • Suggestions matching public code
  • 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.

Further reading