A smart shell script to automatically delete stale Git branches β keeping only active ones and your main branch. Perfect for large repos with hundreds of inactive branches.
-
Updated
Oct 16, 2025 - Shell
A smart shell script to automatically delete stale Git branches β keeping only active ones and your main branch. Perfect for large repos with hundreds of inactive branches.
Add a description, image, and links to the clean-git topic page so that developers can more easily learn about it.
To associate your repository with the clean-git topic, visit your repo's landing page and select "manage topics."