You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Provide picker for remove just like switch with no args #4635
I love the interactive picker when using wt switch with no params. Every time i need to delete a worktree, i find myself wishing the same mechanism existed - just run wt remove and get the picker. I think this would be a lot safer and intuitive than the existing mechanism - which i only just learned about from the "potential duplicate" warning when entering this issue, of #1251 (comment). And of course easier than running wt list, copying the wt you want, then wt remove <paste>
Alt-x in the wt switch picker removes a selected worktree, but your request for a picker opened directly by wt remove is distinct. Today, bare wt remove targets the current worktree, so using it to open a picker would change an existing command behavior. #1251 proposed both approaches; #1253 implemented the shortcut. A maintainer needs to decide how a dedicated remove picker should be invoked. The unclear success feedback you noticed with Alt-x is tracked separately in #4636.
Closing: Alt-x in the wt switch picker removes the selected worktree, and bare wt remove means the current worktree, so a picker there would change what it does today. @worktrunk-bot please add a line to wt remove's help pointing at Alt-x.
This was written by Claude Code on behalf of max-sixty
Activity
worktrunk-bot commentedon Oct 30, 2026
Alt-xin thewt switchpicker removes a selected worktree, but your request for a picker opened directly bywt removeis distinct. Today, barewt removetargets the current worktree, so using it to open a picker would change an existing command behavior. #1251 proposed both approaches; #1253 implemented the shortcut. A maintainer needs to decide how a dedicated remove picker should be invoked. The unclear success feedback you noticed withAlt-xis tracked separately in #4636.max-sixty commentedon Nov 5, 2026
Closing:
Alt-xin thewt switchpicker removes the selected worktree, and barewt removemeans the current worktree, so a picker there would change what it does today. @worktrunk-bot please add a line towt remove's help pointing atAlt-x.worktrunk-bot commentedon Nov 5, 2026
Opened #4703, which adds a line to
wt remove --helppointing atAlt-xin thewt switchpicker.docs(remove): mention the wt switch picker's Alt-x in wt remove help (#…