Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.299 ·

Git clone, init and worktree commands are recognised differently

Claude Code now reads git commands in their original order when spotting clone, init or worktree, instead of removing options first

Under the hood Internal Changes
JSON All of v2.1.299
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
GitArea: what it touches
Internal ChangesKind: in v2.1.299,
Internal ChangesSection of the release
What

Claude Code looks at git commands to spot when one is a git clone, git init or git worktree command. When scanning the parts of such a command, it now works from each part's original position in the command. Before, it removed the options (the parts starting with a dash) first and then scanned what was left.

Why

This check is part of how Claude Code judges whether a command is safe. Commands with options placed before the subcommand may now be recognised differently than before.

See this entry in the whole of v2.1.299 →

Feedback