[DOCS] Settings reference is missing `includeGitInstructions` and `CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS`
Documentation Type
Missing documentation (feature not documented)
Documentation Location
https://code.claude.com/docs/en/settings
Section/Topic
Settings key reference and environment variable controls for system prompt behavior.
Current Documentation
No documentation currently exists for either:
includeGitInstructionssettingCLAUDE_CODE_DISABLE_GIT_INSTRUCTIONSenvironment variable
The settings reference table covers adjacent git-related controls but does not include this toggle:
| attribution | Customize attribution for git commits and pull requests ... |
| includeCoAuthoredBy | Deprecated ... co-authored-by Claude ... |
What's Wrong or Missing?
Changelog v2.1.64 adds a new setting/env-var pair that controls whether built-in commit/PR workflow instructions are included in Claude's system prompt, but the main settings documentation has no entry describing:
- Default behavior
- Setting precedence vs env var
- Where this applies (interactive mode, agents, etc.)
- Trade-offs when disabling built-in git workflow instructions
Suggested Improvement
Add a new settings entry for includeGitInstructions with:
- Type, default value, and scope.
- Equivalent env var
CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONSand precedence rules. - Example
settings.jsonsnippet. - Short explanation of expected behavior change in system prompt content.
Impact
Medium - Makes feature difficult to understand
Additional Context
Affected Pages:
| Page | Line(s) | Context |
|------|---------|---------|
| https://code.claude.com/docs/en/settings | 146-180 | Settings table includes git-related controls but no includeGitInstructions entry |
Total scope: 1 page affected
Source: Changelog v2.1.64
- Added
includeGitInstructionssetting (andCLAUDE_CODE_DISABLE_GIT_INSTRUCTIONSenv var) to remove built-in commit and PR workflow instructions from Claude's system prompt.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗