copilot Verified for current stable LTS

Copilot Command: Allow All Git Commands Except Push

Use for allow all git commands except push with Copilot. Exact CLI syntax to allow all git commands except push using Copilot.

When to use this: Use for allow all git commands except push with Copilot.

Command Syntax

copilot --allow-tool 'shell(git:*)' --deny-tool 'shell(git push)'

Command Breakdown

--allow-tool
Command Option
Tool-specific option used by this command invocation.
--deny-tool
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to allow all git commands except push using Copilot.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Copilot directory