Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.251 Home All releases olderv2.1.250
Claude Code v2.1.251

Git instructions in the Bash tool prompt can be switched off

Use it now
Useful4 Signal3
System Prompt Notable

You can turn off the Bash tool's git instructions via env var or setting.

CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONSincludeGitInstructions
What

Whether the Bash tool's system prompt carries the Git safety and commit instructions now goes through one explicit check that honours the CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS environment variable and an includeGitInstructions setting. The default is unchanged: the instructions are included.

Details
  • Both the variable and the setting existed before; what is different is that a single helper now decides, so every prompt path respects them the same way.
Evidence

CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.251 →