Skip to content

Instantly share code, notes, and snippets.

@jashkenas
Created September 27, 2012 22:16
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jashkenas/3796782 to your computer and use it in GitHub Desktop.
Save jashkenas/3796782 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