{"version":"2.1.335","anchor":"worktree-removal-now-runs-a-cleanup-call","canonical_anchor":"worktree-removal-now-runs-a-cleanup-call","heading":"Removing a worktree now runs an extra cleanup step","tier":"internal","area":"Worktrees","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/worktree-removal-now-runs-a-cleanup-call","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### Removing a worktree now runs an extra cleanup step\n\nWhen Claude Code removes a worktree, it now runs an additional cleanup step before reporting that the worktree was removed\n\n**Unclear.** It is not clear what the new cleanup step actually removes or resets, so its visible effect for a user is unknown.\n\n**What**\n\nA worktree is a separate working copy of a git repository that Claude Code can create so work happens in its own folder, apart from your main checkout. When Claude Code removes one, it now runs an extra cleanup step before it reports \"worktree removed\". The previous build reported the removal without that step.\n\n**Why**\n\nIn practice, removing a worktree now does a little more tidying up than it used to. Nothing about how you ask for the removal has changed.\n\n- Area: Worktrees\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}