GitHub Content Exclusions GA in Copilot App and CLI
What shipped
GitHub made content exclusions generally available in the Copilot app and Copilot CLI. Both surfaces now respect exclusion policies configured by enterprise, organization, and repository administrators.
What changed
Copilot will no longer use excluded files as context in agentic workflows. Policies apply across the app and CLI, so the same rules cover chat, coding agents, and command-line flows. The feature is available to Copilot Business and Enterprise customers.
Why a builder cares
Copilot reads more than your open tab — code review, agents, and CLI flows all pull repo context. Content exclusions let teams keep secrets, compliance-sensitive files, and vendored code out of model context without disabling Copilot.