DEV Community

Cover image for Say goodbye to manually deleting multiple GitHub repositories
Alexis Vargas
Alexis Vargas

Posted on

Say goodbye to manually deleting multiple GitHub repositories

I recently created a script that allows for the bulk deletion of GitHub repositories. I found that the GitHub interface did not provide a way to do this in bulk, so I wrote this script to fill that gap. I am sharing it in case it may be helpful for others who find themselves in a similar situation. The script uses the GitHub API to authenticate and delete the specified repositories, but it's important to be careful when using it, as it can permanently delete repositories and their associated data. Use at your own risk and make sure to backup any important repositories before deletion. If you want to improve it, feel free to do so and send me a pull request. Together we can make it better.

If you found this post helpful, please share it with others who may benefit from it!

Ruby Remover Repos

Top comments (0)