Answer: To exclude content from GitHub Copilot for your repository, go to the repository's Settings, click Copilot then Content exclusion in the sidebar, and enter the paths to exclude in the box following "Paths to exclude in this repository," using the format - "/PATH/TO/DIRECTORY/OR/FILE" with each path on a separate line. Status: Confirmed Entry: tool/github-copilot/settings/exclude-content-repository Revision: 3 Digest: sha256:cf5f95045c94ae7d (changes whenever the content changes) Timeline: Created: 2026-11-13T03:23:35Z Last changed: 2026-11-18T12:55:45Z (Case sensitivity: — → case insensitive) 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 Path format | - "/PATH/TO/DIRECTORY/OR/FILE" | [1] | 2026-11-20 Settings location | Copilot then click Content exclusion | [1] | 2026-11-20 Paths box label | Paths to exclude in this repository | [1] | 2026-11-20 Comment syntax | # | [1] | 2026-11-20 Pattern matching | fnmatch pattern matching notation | [1] | 2026-11-20 Case sensitivity | case insensitive | [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: "Use the format: - "/PATH/TO/DIRECTORY/OR/FILE" , with each path on a separate line." (Supports: Path format) Quote: "In the sidebar, under "Code, planning, and automation", click Copilot then click Content exclusion ." (Supports: Settings location) Quote: "In the box following "Paths to exclude in this repository," enter the paths to files from which Copilot should be excluded." (Supports: Paths box label) Quote: "You can add comments by starting a line with # ." (Supports: Comment syntax) Quote: "You can use fnmatch pattern matching notation to specify file paths." (Supports: Pattern matching) Quote: "Patterns are case insensitive." (Supports: Case sensitivity) 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 repository"). Related: https://latestn.com/tool/github-copilot/settings/extension-location Where can I place a GitHub Copilot CLI extension file so it gets loaded? https://latestn.com/tool/github-copilot/settings/find-and-store-skills How do I find and store agent skills for GitHub Copilot? https://latestn.com/tool/github-copilot/settings/hook-configuration-format What is the configuration format for GitHub Copilot command, HTTP, and prompt hooks? https://latestn.com/tool/github-copilot/settings/enable-voice-input How do I enable voice input in GitHub Copilot CLI? https://latestn.com/tool/github-copilot/settings/environment-variables How do I set GitHub Copilot SDK options using environment variables? https://latestn.com/tool/github-copilot/settings/environment-variables-2 Which environment variables can I set for GitHub Copilot CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:55:45Z | changed | Case sensitivity: — → case insensitive | [1] 2026-11-18T12:55:45Z | changed | Pattern matching: — → fnmatch pattern matching notation | [1] 2026-11-18T12:55:45Z | changed | Comment syntax: — → # | [1] 2026-11-18T12:55:45Z | changed | Paths box label: — → Paths to exclude in this repository | [1] 2026-11-18T12:55:45Z | changed | Settings location: — → Copilot then click Content exclusion | [1] 2026-11-18T12:55:45Z | changed | Path format: — → - "/PATH/TO/DIRECTORY/OR/FILE" | [1] 2026-11-18T12:55:45Z | changed | case sensitivity: case insensitive → — | [1] 2026-11-18T12:55:45Z | changed | pattern matching: fnmatch → — | [1] 2026-11-18T12:55:45Z | changed | comment syntax: # → — | [1] 2026-11-18T12:55:45Z | changed | input box label: Paths to exclude in this repository → — | [1] 2026-11-18T12:55:45Z | changed | settings location: Copilot then click Content exclusion → — | [1] 2026-11-18T12:55:45Z | changed | path format: - "/PATH/TO/DIRECTORY/OR/FILE" → — | [1] 2026-11-16T12:44:59Z | changed | case sensitivity: — → case insensitive | [1] 2026-11-16T12:44:59Z | changed | settings location: — → Copilot then click Content exclusion | [1] 2026-11-16T12:44:59Z | changed | pattern matching: fnmatch pattern matching notation → fnmatch | [1] 2026-11-16T12:44:59Z | changed | sidebar location: Copilot then click Content exclusion → — | [1] 2026-11-16T12:44:59Z | changed | navigation path: Settings → — | [1] 2026-11-13T03:23:35Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/settings/exclude-content-repository/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/settings/exclude-content-repository POST: https://latestn.com/dispute/tool/github-copilot/settings/exclude-content-repository with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/settings/exclude-content-repository?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I exclude content from GitHub Copilot for my repository? Revision 3, last verified 2026-11-20T13:01:37Z. https://latestn.com/tool/github-copilot/settings/exclude-content-repository (accessed 2026-11-21T09:53:14Z). @misc{LatestN_tool_github_copilot_settings_exclude_content_repository_r3, title = {How do I exclude content from GitHub Copilot for my repository?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/settings/exclude-content-repository}}, note = {Revision 3; digest sha256:cf5f95045c94ae7d; last verified 2026-11-20T13:01:37Z; accessed 2026-11-21T09:53:14Z} } 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/settings/exclude-content-repository