{"version":"2.1.331","anchor":"worktree-exit-dialog-warns-about-another-live-session-in-the","canonical_anchor":"worktree-exit-dialog-warns-about-another-live-session-in-the","heading":"Worktree exit warns when another Claude Code session is using the same worktree","tier":"notice","area":"Worktrees","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/worktree-exit-dialog-warns-about-another-live-session-in-the","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Worktree exit warns when another Claude Code session is using the same worktree\n\nWhen you leave a worktree that another Claude Code session is running in, the exit dialog now warns you before you remove it\n\n**What**\n\nA 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.\n\n**Why**\n\nIt helps you avoid deleting a worktree that another session is still working in.\n\n- Area: Worktrees\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}