4 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.
Modifying system prompts
Claude Code CLI · in the page
agent-sdk/modifying-system-prompts
…](/docs/en/settings-reference#includegitinstructions) to `false`, or `CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS=1` | | The `Co-Authored-By` trailer and the pull request footer | Set [`attribution.commit`](…
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…
All settings
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…