Easily create GitHub PR in console
#!/usr/bin/env ruby repo = `git remote show origin -n | grep h.URL | sed 's/.*://;s/.git$//'`.strip branch = `git rev-parse --abbrev-ref HEAD` `open https://www.github.com/#{repo}/compare/#{ARGV[0]}...#{branch}`