github-pewpew icon indicating copy to clipboard operation
github-pewpew copied to clipboard

Pew pew unused branches

Open eurunuela opened this issue 2 years ago • 1 comments

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.

eurunuela avatar Apr 06 '22 06:04 eurunuela

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

  1. That’s terrifying, and I’m too dumb with git to understand what’s going to happen
  2. 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.

andrewbranch avatar Jun 30 '22 16:06 andrewbranch