About GitHub Copilot settings on GitHub.com
In addition to the configuration for the GitHub Copilot plugin in your supported IDE, you can configure settings for GitHub Copilot on GitHub.com. The settings apply wherever you use GitHub Copilot.
Configuring GitHub Copilot settings on GitHub.com
Once you have an active GitHub Copilot trial or subscription, you can adjust GitHub Copilot settings for your personal account on GitHub in the GitHub Copilot settings. The settings apply anywhere that you use GitHub Copilot. You can configure the suggestions that GitHub Copilot offers and how GitHub uses your telemetry data.
Enabling or disabling duplication detection
Note: If you are a member of an organization on GitHub Enterprise Cloud who has been assigned a GitHub Copilot seat through your organization, you will not be able to configure duplication detection in your personal account settings. Your duplication detection setting will be inherited from your organization or enterprise.
GitHub Copilot includes a filter which detects code suggestions matching public code on GitHub. You can choose to enable or disable the filter. When the filter is enabled, GitHub Copilot checks code suggestions with their surrounding code of about 150 characters against public code on GitHub. If there is a match or near match, the suggestion will not be shown to you.
-
In the upper-right corner of any page, click your profile photo, then click Settings.
-
In the left sidebar, click GitHub Copilot.
-
Under Suggestions matching public code, select the dropdown menu, then click Allow to allow suggestions matching public code, or Block to block suggestions matching public code.
-
To confirm your new settings, click Save.
Enabling or disabling Prompt and Suggestion collection
Note: Copilot for Business does not retain any Prompts or Suggestions.
You can choose whether your Prompts and Suggestions are collected and retained by GitHub and further processed and shared with Microsoft and by adjusting your user settings. For more information about data that GitHub Copilot may collect depending on your settings, see "GitHub Terms for Additional Products and Features" and the GitHub Copilot privacy FAQ.
-
In the upper-right corner of any page, click your profile photo, then click Settings.
-
In the left sidebar, click GitHub Copilot.
-
To allow or prevent GitHub using your data, select or deselect Allow GitHub to use my code snippets for product improvements.
-
To confirm your new settings, click Save.