github-pewpew
github-pewpew copied to clipboard
Pew pew unused branches
I think it would be very useful if pewpew could clean up unused branches too. This is something that really annoys me when I use the GitHub desktop app.
Came here to request this too. I would be interested in the ability to delete both local and remote branches. For local, I know there’s all kinds of bash-fu posted on StackOverflow, but
- That’s terrifying, and I’m too dumb with git to understand what’s going to happen
- Local git is always confused about whether my branches are integrated into main because we use squash commits when merging on GitHub
For remote, GitHub has a listing of stale branches but I don’t think it lets you bulk delete; you have to click a lot. Wrapping both of these things into a smart CLI experience would be nice.