Mass download all github repositories(public & private) of an organization, ideally in a few seconds.
Writing this as a simple bash script would've taken me a few minutes, but this took me a few hours to learn and write. Expect stupid mistakes.
Download the binary from the releases page and run it.
Or, you could clone the repository and build it yourself.
Assuming you have the binary installed, you can do the following:
- Configure/re-configure your credentials:
git-mass config -u <username> -t <token>
- Verify if your configured credentials are valid:
git-mass config
You can generate a token from here. Highly recommend you set token-expiry.
git-mass orgs
Go to
https://github.com/orgs/<organization>/people
if you want to switch between public/private.
git-mass clone -o <organization>
- Might add GitLab integration