Jq
Cleaning Up Your Github Repos
I was recently reduced from the staff of the Flatiron School and, after my GitHub accounts were terminated, I still had a ton of repos that had been forked from the company’s accounts to my own. The GitHub web UI doesn’t help with bulk actions, so I scripted it.
Strategy
- Use
hub
’s low-level API to generate a death list in a file - Peruse the file
- Feed the file into
hub
to do the deletion