Copilot CLI: Permissions, Config, Trusted Folders, and Environment Variables/Repository-shared settings path
Commit repo-wide Copilot settings.
Section: Config files and trusted-folder layout
Repository-shared settings path
json
json
.github/copilot/settings.jsonExplanation
Use this for shared team defaults that belong in version control.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Config files and trusted-folder layout
Store permanently trusted folders
Persist trusted directories in the user config.
Override the Copilot home directory
Change where config and state files are stored.