{"version":"2.1.269","anchor":"git-auto-maintenance-disabled-for-claude-invoked-git-operati","canonical_anchor":"git-auto-maintenance-disabled-for-claude-invoked-git-operati","heading":"Git auto-maintenance flags for Claude-invoked git commands","tier":"notice","area":"Git Internals","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.269\/e\/git-auto-maintenance-disabled-for-claude-invoked-git-operati","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.269","markdown":"### Git auto-maintenance flags for Claude-invoked git commands\n\nClaude Code now disables git's automatic gc\/maintenance for most git commands it runs, but not for BYOC fetch retries\n\n**What**\n\n- When Claude shells out to git, the command now appends `-c gc.auto=0 -c maintenance.auto=false` alongside its existing default config and command-line flags, disabling git's automatic garbage collection and maintenance for those invocations.\n\n- The retry-loop git invocation used for bring-your-own-cloud (BYOC) git fetches no longer passes those two overrides; it only spreads its other arguments. The general internal git command builder still sets them.\n\n**Why** This avoids Claude-invoked git commands unexpectedly triggering background garbage collection or maintenance, while leaving BYOC fetch retries on git's normal auto-maintenance behavior.\n\n- Area: Git Internals\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5"}