Skip to content

Instantly share code, notes, and snippets.

@sr75
Created Dec 30, 2015
Embed
What would you like to do?
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