QuestionQ25

Configure privacy, content exclusions, and safeguards

A team uses GitHub Copilot Individual in its everyday development work. They must prevent specific files from being used to inform code-completion suggestions.

How can they do this?

  • A Upgrade to Copilot Business
  • B Add a .gitignore file to the repo
  • C Have an organization owner configure content exclusions
  • D Have a repo administrator configure content exclusions
  • E Use the #file Chat variable to exclude the files
Explanation

GitHub Copilot content exclusion prevents designated files from informing inline code-completion suggestions and Copilot Chat responses, but it is available only to organizations with Copilot Business or Copilot Enterprise. Copilot Individual does not provide this control, so the team must move to Copilot Business before content exclusions can be configured. Repository or organization administrators can then configure the exclusion at the appropriate scope.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!