public
Last active

Batch gitmine review a bunch of tickets.

  • Download Gist
batch_review.rb
Ruby
1 2 3 4 5 6 7
ARGV.each do |issue_id|
system("gitmine checkout #{issue_id} && git pull && git diff master...HEAD")
puts "Merge into master?"
if STDIN.gets.chomp =~ /^y/i
system("gitmine review #{issue_id}")
end
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.