Skip to content

Instantly share code, notes, and snippets.

@bruce
Created December 12, 2008 23:45
Show Gist options
  • Save bruce/35342 to your computer and use it in GitHub Desktop.
Save bruce/35342 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'randexp'
branch = /bruce-\d{6,7}-\w{4,8}-\w{10,18}/.gen
`git checkout -b #{branch} && git push origin #{branch}:#{branch}`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment