CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS

Description

Environment variable that suppresses git status from the prompt-cache block 2. Community-recommended workaround for the git-status cache-bust: CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS=1 claude "Hello" pre-warms the cache with skills and CLAUDE.md cached before any git activity. Alternatively, includeGitInstructions: false in settings.json permanently removes git status from the cache block.

Key claims

Relations

Sources

src-20260423-542f02260352