
I Found a 2-Year-Old GitHub Feature Request and Built It
A few weeks ago I was browsing GitHub Discussions and found a thread from September 2023 . A developer named Nathan had posted asking for a proper branch cleanup tool — filter by last commit age, see who touched what, bulk delete stale branches. It had been sitting open for two years. The best official response was essentially "have you tried the Stale tab?" which still makes you click delete one branch at a time. The scope of the problem The Stack Overflow question " How do I remove all stale branches from GitHub? " has 40,000 views. The workaround most people land on looks like this: git push origin --delete branch-name-1 git push origin --delete branch-name-2 # repeat 40 more times Or you write a script against the GitHub API, handle auth, pagination, and hope you don't accidentally nuke something active. So I built built a modern version I already had reposweeper.com — a free tool for bulk repo management (archive, delete, visibility, collaborators) which I built to address a simil
Continue reading on Dev.to Webdev
Opens in a new tab



