You'll noticeTier: how much it should matter to you
4Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
WorktreesArea: what it touches
Bug FixesKind: in v2.1.304,
What probably matters to youSection of the release
What
A git worktree is an extra working copy of your repository, on its own branch. When Claude Code creates one with a new branch, it now asks git to create the branch only if it does not exist. Before, it always reset the branch, even if one with that name was already there.
If a branch with the numbered name already exists, Claude Code now stops with an error saying so, leaves that branch as it is, and asks you to pass a different worktree name.
Why
An existing branch can no longer be overwritten by accident when a worktree is given an automatically numbered name.