Skip to content

Instantly share code, notes, and snippets.

@satyr
Created February 6, 2010 21:26
Show Gist options
  • Save satyr/296972 to your computer and use it in GitHub Desktop.
Save satyr/296972 to your computer and use it in GitHub Desktop.
exit unless `git config --get remote.origin.url` =~ /(\d+)\.git$/
system "cmd /c start http://gist.github.com/#$1"
puts $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment