GitLab Prune
While interning at Engati, I noticed that many of their GitLab repositories were filled with long ignored, unused branches. As such, I decided to write a Python script that systematically cleaned those repositories, deleting branches that had not been modified past a certain date. To do so, I used the Python-GitLab and GitPython libraries to create a simple command line program that is still used to help maintain the company's repositories.
![](https://freight.cargo.site/t/original/i/cb2bc317e6dfd1617889010702e20801fe46eb90d6343f16faecdf2025554f57/tOG1dJt.gif)