-
Notifications
You must be signed in to change notification settings - Fork 1
Option to select all branches #4
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Sometimes I have a lot of local branches, and I know I just want to get back to a clean slate where only main is present. I just want to nuke all the local branches.
For a situation like this, it would be nice with a "Select All" option, that would automatically toggle on all of the branches in the list. Perhaps looking something like this:
Select branches to delete (use ↑/↓ or j/k to navigate, Space to select, Enter to confirm, q to quit):
[ ] # Select All #
> [ ] branch/1
[ ] branch/2
[ ] branch/3
[ ] branch/4
[ ] branch/5
[ ] branch/6
branch/7 (checked out)
[ ] branch/8
[ ] branch/9- Not sure how we best visualize the "Select All" option in the output?
- Perhaps it would make most sense that the "cursor" starts on the first branch, even if "Select All" is at the top? That way, you can start selecting individual branches just like before, but can move Up directly after running
bcuto toggle "Select All" - Probably, one should be able to toggle All on and off, just like you could for an individual branch?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request