Created
December 30, 2015 04:17
-
-
Save sr75/12b6ce3c518324692c93 to your computer and use it in GitHub Desktop.
unstar all the repos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/octokit/octokit.rb | |
require 'octokit' | |
Octokit.configure do |c| | |
c.login = ENV['GH_UID'] | |
c.password = ENV['GH_PWD'] | |
end | |
begin; Octokit.starred.each {|r| puts Octokit.client.unstar r.full_name}; end while Octokit.starred.size > 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment