Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.271 ·

Exiting a mid-session worktree now notes commits kept server-side

Removing a worktree mid-session now tells you its commits are still kept on the server

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaWorktreeswhat it touches
KindImprovementsin v2.1.271,
You'll notice

Removing a worktree mid-session now tells you its commits are still kept on the server

What

A worktree is a separate working copy of a git repository that Claude Code can use during a session. If you remove a worktree partway through a session and it had commits made in it, the message you now see includes a note that those commits remain stored server-side, along with a shortened id of the last commit (the 'head changeset').

Why

This reassures you that deleting the worktree doesn't lose the work done in it, since the commits are still retained on the server rather than only existing in the now-removed local copy.

See this entry in the whole of v2.1.271 →