Skip to content

Instantly share code, notes, and snippets.

@robbyoconnor
Forked from ryanb/railscasts_episodes.rb
Created August 21, 2014 04:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robbyoconnor/d0bc47f9d6ad05d38063 to your computer and use it in GitHub Desktop.
Save robbyoconnor/d0bc47f9d6ad05d38063 to your computer and use it in GitHub Desktop.
require "rubygems"
require "octokit" # gem install octokit
1.upto(5) do |page|
Octokit.repositories("railscasts", page: page, per_page: 100).each do |repo|
system "git clone git://github.com/railscasts/#{repo.name}"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment