Answer: You can preconfigure allowed tools via CLI flags, for example: copilot --allow-tool= 'shell(git:*)' --deny-tool= 'shell(git push)'. You can also manage permissions with /permissions show, /permissions manual, and reset previously approved tools with /reset-allowed-tools. Status: Confirmed Entry: tool/github-copilot/permissions-and-security/configure-allowed-tools Revision: 2 Digest: sha256:8ed0ca4f5bd3206e (changes whenever the content changes) Timeline: Created: 2026-11-13T03:23:50Z Last changed: 2026-11-19T12:55:46Z (allow file writes pattern: — → write) Last verified: 2026-11-20T13:02:00Z Next check: 2026-11-21T13:02:00Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of CLI flag example | copilot --allow-tool= 'shell(git:*)' --deny-tool= 'shell(git push)' | [1] | 2026-11-20 show permissions command | /permissions show | [1] | 2026-11-20 manual approval command | /permissions manual | [1] | 2026-11-20 reset command | /reset-allowed-tools | [1] | 2026-11-20 allow all Git commands pattern | shell(git:*) | [1] | 2026-11-20 allow file writes pattern | write | [1] | 2026-11-20 Sources: [1] GitHub. "Best practices for GitHub Copilot CLI - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-cli/cli-best-practices Role: primary. Accessed: 2026-11-20T13:02:00Z Quote: "copilot --allow-tool= 'shell(git:*)' --deny-tool= 'shell(git push)'" (Supports: CLI flag example) Quote: "Use /permissions show to check your mode" (Supports: show permissions command) Quote: "/permissions manual to choose manual approval" (Supports: manual approval command) Quote: "To reset previously approved tools, use: /reset-allowed-tools" (Supports: reset command) Quote: "shell(git:*) — Allow all Git commands" (Supports: allow all Git commands pattern) Quote: "write — Allow file writes" (Supports: allow file writes pattern) Snapshot SHA-256: 486d29c99bb4334d9d26dcb074b0e64deeaa5473c851af2117410fab29e5bfa7 (captured 2026-11-18T12:56:12Z) 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:56:12Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:02:00Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:02:00Z Last attempt: 2026-11-20T13:02:00Z Notes and limitations: Extracted automatically from a single official source (section "Configure allowed tools"). Related: https://latestn.com/tool/github-copilot/permissions-and-security/configure-autopilot-permissions How do I configure permissions for GitHub Copilot CLI Autopilot mode? https://latestn.com/tool/github-copilot/permissions-and-security/configure-copilot-app-access-policies How do I configure access and policies for the GitHub Copilot app for my team? https://latestn.com/tool/github-copilot/permissions-and-security/configure-essential-security-features How do I use GitHub Copilot to configure essential security features in my repository? https://latestn.com/tool/github-copilot/permissions-and-security/cloud-sessions-org-resource-access How do I give GitHub Copilot cloud sessions access to resources in my organization? https://latestn.com/tool/github-copilot/permissions-and-security/cloud-sessions-secrets-access How do I give GitHub Copilot cloud sessions access to secrets in my organization? https://latestn.com/tool/github-copilot/permissions-and-security/code-review-who-can-use Who can use GitHub Copilot code review in an enterprise? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T12:55:46Z | changed | allow file writes pattern: — → write | [1] 2026-11-19T12:55:46Z | changed | allow all Git commands pattern: — → shell(git:*) | [1] 2026-11-19T12:55:46Z | changed | reset command: — → /reset-allowed-tools | [1] 2026-11-19T12:55:46Z | changed | manual approval command: — → /permissions manual | [1] 2026-11-19T12:55:46Z | changed | show permissions command: — → /permissions show | [1] 2026-11-19T12:55:46Z | changed | CLI flag example: — → copilot --allow-tool= 'shell(git:*)' --deny-tool= 'shell(git push)' | [1] 2026-11-19T12:55:46Z | changed | Reset approved tools command: /reset-allowed-tools → — | [1] 2026-11-19T12:55:46Z | changed | Manual approval command: /permissions manual → — | [1] 2026-11-19T12:55:46Z | changed | Check permissions command: /permissions show → — | [1] 2026-11-19T12:55:46Z | changed | CLI flag to deny tool: --deny-tool= 'shell(git push)' → — | [1] 2026-11-19T12:55:46Z | changed | CLI flag to allow tool: --allow-tool= 'shell(git:*)' → — | [1] 2026-11-13T03:23:50Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/permissions-and-security/configure-allowed-tools/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/permissions-and-security/configure-allowed-tools POST: https://latestn.com/dispute/tool/github-copilot/permissions-and-security/configure-allowed-tools with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/permissions-and-security/configure-allowed-tools?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure allowed tools in GitHub Copilot CLI? Revision 2, last verified 2026-11-20T13:02:00Z. https://latestn.com/tool/github-copilot/permissions-and-security/configure-allowed-tools (accessed 2026-11-21T10:01:02Z). @misc{LatestN_tool_github_copilot_permissions_and_security_configure_allowed_tools_r2, title = {How do I configure allowed tools in GitHub Copilot CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/permissions-and-security/configure-allowed-tools}}, note = {Revision 2; digest sha256:8ed0ca4f5bd3206e; last verified 2026-11-20T13:02:00Z; accessed 2026-11-21T10:01:02Z} } 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/permissions-and-security/configure-allowed-tools