Q53: What file can be added to a repository root to exclude specified paths from Copilot indexing?

In addition to organization-level settings, developers can add a .copilotignore file to repository roots to exclude sensitive file paths from local IDE Copilot processing.

Key Takeaways
  • .copilotignore: Repository-level path exclusion file.

  • Functions similarly to .gitignore.

Knowledge Check

Which file in a repository root excludes matching file paths from Copilot context indexing?