# .copilotignore

Category: GitHub Copilot

# .copilotignore

Create a .copilotignore file to exclude files from Copilot context

A .copilotignore file (same syntax as .gitignore) tells Copilot not to use matching files as context for suggestions. Critical for excluding files with secrets, API keys, or proprietary algorithms from Copilot's training context.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.