Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.335 ·

Creating git worktrees retries when git hits a conflicting change

Creating a git worktree or deleting its branch now retries when git reports that a worktree record was changing underneath it

You'll notice Bug Fixes
JSON All of v2.1.335
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
WorktreesArea: what it touches
Bug FixesKind: in v2.1.335,
Bug FixesSection of the release
What

A git worktree is a second working copy of the same repository, checked out in its own folder. Claude Code can create worktrees and delete their branches.

Both actions now try again, instead of giving up after one attempt, when git fails with one of these errors about its worktree records:

  • a problem with the worktrees commondir file
  • a worktree that is locked
  • an Invalid path error

Each retry is logged with the message "git met a registration that was changing".

Why

When several worktrees are created at the same time, git can trip over its own records. Retrying makes that case more reliable.

See this entry in the whole of v2.1.335 →

Feedback