Skip to content

Instantly share code, notes, and snippets.

@gasolin
Created May 12, 2015 02:17
Show Gist options
  • Select an option

  • Save gasolin/a14e612e75bb55028e80 to your computer and use it in GitHub Desktop.

Select an option

Save gasolin/a14e612e75bb55028e80 to your computer and use it in GitHub Desktop.
alias for gh-pages push, single command to update master to gh-pages. Ref http://stackoverflow.com/questions/5807459/github-mirroring-gh-pages-to-master
alias gpush="git checkout gh-pages && git merge master && git push origin gh-pages && git checkout -"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment