Follow Discord
Sweep 08 Oct 2026 · 18:53Z Build v2.1.295 516 read Stable v2.1.286 Latest v2.1.295 Next v2.1.295 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.290 ·

Removing a worktree no longer deletes folders that hold git's own files

When dropping a worktree, Claude Code now leaves its folder in place with a warning if it holds git's own files

You'll notice Bug Fixes
JSON All of v2.1.290
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
Bug FixesKind: in v2.1.290,
Bug FixesSection of the release
What

A worktree is an extra working copy of a git repository in its own folder. When Claude Code drops a worktree's registration and the folder holds files that belong in a git directory (objects, config, packed-refs, hooks or worktrees), it now leaves the folder in place and shows a warning. Git deletes it on its next prune or git gc.

Before, Claude Code removed the whole folder, and if that failed, removed only the files git writes there.

Why

This avoids deleting a folder that may still contain your own data.

See this entry in the whole of v2.1.290 →

Feedback