Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Batch gitmine review a bunch of tickets.
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}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment