[FEATURE] do not remove the worktree at all after ending a session ran with -w
Resolved 💬 2 comments Opened Mar 30, 2026 by modelorona Closed Mar 30, 2026
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
I accidentally ended a session with ctrl c twice and that led to the worktree being deleted and no way to recover it that I can find. Lost a bunch of work and time.
Proposed Solution
Don't delete the worktree please. Assume the user wants to keep it and let them handle the cleanup if they want it gone.
Alternative Solutions
Don't delete it.
Priority
High - Significant impact on productivity
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗