Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

git allowlist: --no-lazy-fetch and --no-advice accepted as global options

Claude Code's git permission checks now recognise --no-lazy-fetch and --no-advice as git global options

Entry
JSON All of v2.1.281
EntryKind: in v2.1.281,
ChangesSection of the release
What

Git global options are the flags you write between git and the subcommand, as in git --no-advice status. Claude Code keeps a list of them so that, when it checks whether a git command is allowed, it can skip past them and find the real subcommand. --no-lazy-fetch and --no-advice are now on that list. One check that uses the list is the one for rev-parse --git-dir.

Why

Git commands that include either flag are now read correctly when Claude Code works out which subcommand is being run, instead of the flag being mistaken for the subcommand.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed sandbox excludedCommands entries not matching git rev-parse --git-dir, programs named like shell builtins, and commit messages…

See this entry in the whole of v2.1.281 →

Feedback