← Back to catalog
SettingPermissions↓ 746

Allow Git Operations

Permits common git commands without approving each one manually.

Installation
npx claude-code-templates@latest --setting permissions/allow-git-operations --yes

This setting allows everyday git commands: status, diff, add, commit, push, pull, and log.

They run without asking for approval each time.

Potentially destructive commands stay off the list, so they still require explicit permission.

When to use

  • In version-control workflows where you commit and push often.
  • To avoid manually approving every routine git command.
  • When you trust Claude with the git routine but want to gate the rest.

How to use

Apply the setting; add or remove commands from the allow list to fit your workflow.