GitHub Copilot's Content Exclusions Reach GA in the Copilot App and CLI
GitHub Copilot’s content exclusion policies reached general availability in the Copilot app and Copilot CLI, letting administrators keep specific files out of Copilot’s context across agentic workflows.
Details
- What it does: files marked for exclusion are never used as context by Copilot, protecting sensitive or proprietary code from being read during suggestions or agent tasks
- Who can configure it: enterprise, organization, and repository administrators, using the same content exclusion policies already available on other Copilot surfaces
- Where it now applies: the Copilot app and Copilot CLI, extending protections that previously covered other surfaces
- Availability: Copilot Business and Copilot Enterprise customers
What happened next
The GA rollout closes a gap where content exclusion rules configured elsewhere didn’t consistently follow users into the Copilot app or CLI, giving administrators one consistent policy that applies everywhere Copilot runs.