読者です 読者をやめる 読者になる 読者になる

たごもりすメモ

コードとかその他の話とか。

Cloning all (private) repository in specified organization from github.com

By using github_api.gem and very simple script like below:


Script to clone all repositories of specified orga ...

  1. create OAUTH token from Setting of github.com
  2. paste it to oauth_token in the script
  3. edit organization name in the script
cd mydir
gem i github_api
ruby /path/to/saved_script/github_org_clone_all.rb
# wait a long time...

Enjoy!