Skip to content

Instantly share code, notes, and snippets.

@sr75
Created December 30, 2015 04:17
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 sr75/12b6ce3c518324692c93 to your computer and use it in GitHub Desktop.
Save sr75/12b6ce3c518324692c93 to your computer and use it in GitHub Desktop.
unstar all the repos
# 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