4 / 2465

Content exclusions generally available in Copilot app and CLI

TL;DR

The GitHub Copilot app and Copilot CLI now respect content exclusion policies configured by enterprise, organization and repository administrators. Excluded files no longer end up in the assistant's context. That means sensitive configs, secrets files and legally sensitive parts of a codebase stay out of scope without manual checks on every prompt.

Nauti's Take

Content exclusions across enterprise, org and repo level are progress, because sensitive files now drop out of context in the app and CLI too, not just in the editor. The limit is that exclusions only work where admins configured them properly, and secrets sitting in commits or logs stay untouched.

For regulated teams this is an argument for Copilot, but it replaces no secret hygiene.

Sources