Release

January 23, 20251 Minute Read

Copilot in GitHub.com now supports Content Exclusions (Preview)

Repository administrators and organization owners with a Copilot Business or Copilot Enterprise license can use content exclusions to configure Copilot in GitHub.com to ignore certain files. For example, ignore files called “secrets.json”, ignore files with the “*.cfg” extension, or ignore all files in the “/scripts/**” directory. Content exclusions can be applied through Settings > Copilot > Content exclusion.

Subscribe to our developer newsletter

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.

By submitting, I agree to let GitHub and its affiliates use my information for personalized communications, targeted advertising, and campaign effectiveness. See the GitHub Privacy Statement for more details.

Copilot in GitHub.com now supports Content Exclusions (Preview) - GitHub Changelog