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 ·

Worktree exit warns when another Claude Code session is using the same worktree

When you leave a worktree that another Claude Code session is running in, the exit dialog now warns you before you remove it

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
1Signal: worth watching, 1 to 5
WorktreesArea: what it touches
ImprovementsKind: in v2.1.331,
ImprovementsSection of the release
What

A worktree is a separate working copy of your git repository in its own folder. When you leave one, Claude Code shows an exit dialog that offers to remove it. If Claude Code detects another Claude Code session running in that worktree, the dialog now adds a warning. The warning says the other session is running there and that if that session ends before the removal, Remove deletes the worktree. The warning appears only when your terminal window is large enough to fit it.

Why

It helps you avoid deleting a worktree that another session is still working in.

See this entry in the whole of v2.1.331 →

Feedback