⌨️CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS
Also known as CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS=1
Set to 1, it drops the built-in git steps from the chat.
Think of it like
It is like you take the house rules off the fridge. Then yours are the only ones.
Example
Emma's team has a skill for commit messages in their own format. The built-in steps kept pulling the other way. She sets this, and only her skill guides commits.
Why it matters
Two sets of git steps can clash. Removing one makes the result steady.
Definition
Example code
bash
export CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS=1
claudeCommon mistake
Key takeaways
- 1Built-in git steps. Removed.
- 2Status snapshot. Removed too.
- 3Use your own. Git skill.