1. GitHub Docs
"Configuring content exclusions for GitHub Copilot."
Reference for A: Under the "About content exclusions" section
it states
"The specified files will not be used by GitHub Copilot to inform code completion suggestions."
Reference for B: The same section states
"When you are editing a file that has been excluded
you will not see any code completion suggestions from GitHub Copilot."
2. Microsoft Learn
"Configure GitHub Copilot in your enterprise
" Module: "Manage GitHub Copilot policies for your enterprise."
Reference for A & B: In the unit "Configure content exclusions
" it explains
"Content exclusion allows you to specify file paths in a repository that should be ignored by GitHub Copilot. This prevents Copilot from reading the content of these files or using them as context for its suggestions. When a user opens an excluded file
GitHub Copilot will be disabled
and no suggestions will be provided."