Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Leaving a worktree may no longer move Claude Code back to the original folder

On worktree exit or keep, Claude Code may stay where it is instead of returning to the recorded folder, and retries refused git steps

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

Unclear When Claude Code stays put and when it still returns to the original folder is not clear.

What

A worktree is a separate working copy of your repository. When you exit or keep one, Claude Code used to always move back to your original folder. It can now stay where it is, noting that it does not enter the recorded folder for now.

Cleanup also retries a git step when git refused it the first time.

Why

This changes which folder Claude Code is in after you leave a worktree.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhen Claude Code stays put and when it still returns to the original folder is not clear.

See this entry in the whole of v2.1.331 →

Feedback