TL;DR If you /exit a claude --worktree <name> session with no uncommitted changes and no new commits, Claude Code removes the worktree and its branch without showing the Keep/Remove dialog. This is documented behavior, not a bug. There is no setting to turn it off. Claude Code holds its own git worktree lock on the worktree and only ever... Weiterlesen
Intelligence View
Claude Code deletes clean worktrees on exit without asking. git worktree lock stops it.
TL;DR If you /exit a claude --worktree <name> session with no uncommitted changes and no new commits, Claude Code removes the worktree and its branch without showing the Keep/Remove dialog. This is documented behavior, not a bug.…
SOCIAL SHARE CARD GENERATOR