Skip to content

Instantly share code, notes, and snippets.

@dpritchett
Forked from jashkenas/git-publish
Created October 12, 2010 17:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dpritchett/622570 to your computer and use it in GitHub Desktop.
Save dpritchett/622570 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 origin gh-pages"
cmds << "git co master"
cmds << "git push origin master"
cmds << "git push joyent master"
system cmds.join("&&")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment