Automate maintenance of old outdated branches

23 votes

I work with GitHub a lot, through PR with my team.

Whenever a PR is merged, the remote branch is automatically deleted from GitHub, but I am left with the local version of it. From time to time a go around and delete those old branches but it's a bit tedious.

I would love it if there were some sort of "maintenance" tooling to automatically clean up my working copy, by deleting those old branches. This is currently made worse by the fact that when deleting a branch, the window sometimes scrolls back to the top.

This could also be a nice addition for all stashes that I created but forgot to clean up, or the automatic ones created when rebasing.

Under consideration Quality of Life Suggested by: Thibaud D. Upvoted: 2 days ago Comments: 3

Comments: 3

Add a comment

0 / 1,000

* Your name will be publicly visible

* Your email will be visible only to moderators