You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
WorktreesArea: what it touches
Bug FixesKind: in v2.1.334,
Bug FixesSection of the release
What
A worktree is a separate working copy of a git repository, often used so a task can run without touching your main checkout. When you resume a session in a worktree, Claude Code may reset that worktree to a new starting point.
Before doing that reset, Claude Code now checks that some other branch or remote already holds the commit the worktree started from. It skips the reset in two cases:
no other branch or remote holds that commit
git cannot say either way
Why
Commits you made in the worktree and never pushed are no longer at risk of being left behind with nothing pointing to them.
Nothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.
This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.334: on
These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.