Skip to content

Instantly share code, notes, and snippets.

@jashkenas
Created October 12, 2010 17:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jashkenas/622530 to your computer and use it in GitHub Desktop.
Save jashkenas/622530 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
cmds = []
cmds << "git co gh-pages"
cmds << "git merge master"
cmds << "git push github gh-pages"
cmds << "git co master"
system cmds.join("&&")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment