Search the documentation
3 pages for claude_code_disable_git_instructions.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Environment variables
Claude Code CLI · in the page
env-vars
…| | `CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS` | Set to `1` to remove built-in commit and PR workflow instructions and the…
Claude Code settings
Claude Code CLI · in the page
settings
…emove both, for example when using your own git workflow skills. The `CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS` environment variable takes precedence over this setting when set…
Claude Code settings reference
Claude Code CLI · in the page
settings-reference
…leaves both out * **Default**: `true` * **Per-session overrides**: [`CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS`](/docs/en/env-vars) takes precedence over this key for one session ```json settings.json th…