- Open in a new tab all your github repositories that you want to delete.
- Use the OneTab extension to convert them into a list.
- Clone this repository and navigate to the directory.
git clone https://github.com/bhavya-dang/bulk-delete-repos.git
cd bulk-delete-repos
- Create a file named
repos.txt
and paste the list of repositories into it. - Run the python script to clean and format the list of repositories. This will generate a new file called
output.txt
.
python clean_repos_list.py
-
Run the script to delete the repositories.
For Windows
./bulk_delete_repos.ps1
For Linux or macOS
./bulk_delete_repos.sh