Follow Discord
Sweep 08 Oct 2026 · 18:53Z Build v2.1.295 516 read Stable v2.1.286 Latest v2.1.295 Next v2.1.295 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.290 ·

Git commands with shell-filled words are blocked in worktree sessions

In worktree sessions, git commands are now refused if a word the shell fills in at run time comes before git's subcommand

You'll notice Improvements
JSON All of v2.1.290
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
WorktreesArea: what it touches
ImprovementsKind: in v2.1.290,
ImprovementsSection of the release
What

A git worktree is a separate working copy of a repository. Claude Code has a guard that stops git commands in a worktree session from acting on the main shared checkout. That guard now also refuses a git command when a word at or before the git subcommand (such as commit or checkout) is something the shell only fills in when the command runs, such as a variable.

Why

A word like that could hide what the command really does until it runs. Git is now blocked more strictly in worktree sessions, so a command you expect to work may be refused if it is written this way.

See this entry in the whole of v2.1.290 →

Feedback