Skip to content

Instantly share code, notes, and snippets.

@jay3126
Forked from ryanb/railscasts_episodes.rb
Created March 26, 2014 06:50
Show Gist options
  • Save jay3126/9777966 to your computer and use it in GitHub Desktop.
Save jay3126/9777966 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