Claude Code v2.1.285 ·
Git's security settings changed for git commands Claude Code runs
Git commands run by Claude Code now take their allowed network protocols from a shared value and set GIT_NO_LAZY_FETCH and GIT_TERMINAL_PROMPT
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
GitArea: what it touches
ImprovementsKind: in v2.1.285,
ImprovementsSection of the release
What
The settings Claude Code passes to some git commands it runs have changed:
Why
This changes the safety limits placed on git when Claude Code runs it.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe new value of `GIT_ALLOW_PROTOCOL` is not known.
See this entry in the whole of v2.1.285 →