Answer: In your organization settings, click Copilot then Content exclusion, and in the box following "Repositories and paths to exclude," enter the files Copilot should ignore. To exclude files anywhere, enter "*": followed by the path; to exclude files in a Git repository, enter a repository reference on one line followed by paths within the repository, each on a separate line. Status: Confirmed Entry: tool/github-copilot/admin-and-enterprise/exclude-content-org-enterprise Revision: 3 Digest: sha256:232eea95c6e4c6a4 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:23:35Z Last changed: 2026-11-18T12:55:45Z (settings path: — → Copilot then click Content exclusion) Last verified: 2026-11-20T13:01:37Z Next check: 2026-11-21T13:01:37Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of settings path | Copilot then click Content exclusion | [1] | 2026-11-20 input box label | Repositories and paths to exclude | [1] | 2026-11-20 exclude anywhere syntax | "*": followed by the path to the file | [1] | 2026-11-20 multiple patterns | list each pattern on a separate line | [1] | 2026-11-20 repository format | REPOSITORY-REFERENCE: | [1] | 2026-11-20 pattern matching | fnmatch pattern matching notation | [1] | 2026-11-20 Sources: [1] GitHub. "Excluding content from GitHub Copilot - GitHub Docs". https://docs.github.com/en/copilot/how-tos/configure-content-exclusion/exclude-content-from-copilot Role: primary. Accessed: 2026-11-20T13:01:37Z Quote: "In the left sidebar, click Copilot then click Content exclusion ." (Supports: settings path) Quote: "In the box following "Repositories and paths to exclude," enter the details of files from which Copilot should be excluded." (Supports: input box label) Quote: "To exclude files located anywhere (within a Git repository or elsewhere), enter "*": followed by the path to the file, or files, you want to exclude." (Supports: exclude anywhere syntax) Quote: "If you want to specify multiple file path patterns, list each pattern on a separate line." (Supports: multiple patterns) Quote: "Use the following format, replacing REPOSITORY-REFERENCE with a reference to the repository that contains the files you'd like to exclude: REPOSITORY-REFERENCE:" (Supports: repository format) Quote: "You can use fnmatch pattern matching notation to specify file paths." (Supports: pattern matching) Snapshot SHA-256: 095d06c7b86265cf3308ec0487303ac4a91c1226b99dc216242f6c202dc2025f (captured 2026-11-18T12:55:45Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T12:55:45Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:01:37Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:01:37Z Last attempt: 2026-11-20T13:01:37Z Notes and limitations: Extracted automatically from a single official source (section "Configuring content exclusion for your organization"). Related: https://latestn.com/tool/github-copilot/admin-and-enterprise/existing-organization-copilot-business-setup What should I do if my enterprise already contains an organization when setting up Copilot Business only? https://latestn.com/tool/github-copilot/admin-and-enterprise/export-user-level-usage-data How do I export user-level GitHub Copilot usage data for deeper analysis? https://latestn.com/tool/github-copilot/admin-and-enterprise/get-started-copilot-business How do I get started setting up GitHub Copilot Business for my enterprise? https://latestn.com/tool/github-copilot/admin-and-enterprise/establish-ai-managers How do I establish AI managers when governing GitHub Copilot at scale? https://latestn.com/tool/github-copilot/admin-and-enterprise/establish-governance-controls How do I establish governance controls for GitHub Copilot in my enterprise? https://latestn.com/tool/github-copilot/admin-and-enterprise/estimate-roi-impact-dashboard How do I estimate potential return on investment with the GitHub Copilot impact dashboard? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:55:45Z | changed | settings path: — → Copilot then click Content exclusion | [1] 2026-11-18T12:55:45Z | changed | pattern matching: fnmatch → fnmatch pattern matching notation | [1] 2026-11-18T12:55:45Z | changed | exclude anywhere syntax: * → "*": followed by the path to the file | [1] 2026-11-18T12:55:45Z | changed | navigation path: In the left sidebar, click Copilot then click Content exclusion → — | [1] 2026-11-16T12:45:00Z | changed | pattern matching: fnmatch pattern matching notation → fnmatch | [1] 2026-11-16T12:45:00Z | changed | exclude anywhere syntax: "*": followed by the path to the file → * | [1] 2026-11-13T03:23:35Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/admin-and-enterprise/exclude-content-org-enterprise/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/admin-and-enterprise/exclude-content-org-enterprise POST: https://latestn.com/dispute/tool/github-copilot/admin-and-enterprise/exclude-content-org-enterprise with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/admin-and-enterprise/exclude-content-org-enterprise?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure content exclusion for GitHub Copilot at the organization or enterprise level? Revision 3, last verified 2026-11-20T13:01:37Z. https://latestn.com/tool/github-copilot/admin-and-enterprise/exclude-content-org-enterprise (accessed 2026-11-21T10:01:12Z). @misc{LatestN_tool_github_copilot_admin_and_enterprise_exclude_content_org_enterprise_r3, title = {How do I configure content exclusion for GitHub Copilot at the organization or enterprise level?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/admin-and-enterprise/exclude-content-org-enterprise}}, note = {Revision 3; digest sha256:232eea95c6e4c6a4; last verified 2026-11-20T13:01:37Z; accessed 2026-11-21T10:01:12Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/admin-and-enterprise/exclude-content-org-enterprise