GitHub has made sensitive content exclusions available in the Copilot app and CLI tools
GitHub has made content exclusions available (GA) in the GitHub Copilot app and Copilot CLI. Files excluded by administrators at the enterprise, organization, or repository level will not be used as AI context. Available for Copilot Business and Enterprise.
Companies using Copilot Business or Copilot Enterprise can now enforce protection for sensitive code in agentic workflows run through the app and CLI as well as in the IDE integration, reducing the risk of sensitive data entering the AI context.