A small Ruby CLI tool for backing up a GitHub organization's repositories.
$ backup_repos -n ${ORGANIZATION_NAME} -t #{GITHUB_ACCESS_TOKEN}
This will create a tarbar for every repo in the given organization in the local tmp directory. You can then upload these to S3 and you're all backed up.
- Fork it ( https://github.com/Gowiem/backup_repos/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request