I\'m developing a jQuery plugin that\'s being hosting on GitHub. It has a demo included of which I\'m manually copying and pushing to the branch gh-pages, what
gh-pages
I personally like to wrap this in an alias:
alias gpogh="git checkout gh-pages && git merge master && git push origin gh-pages && git checkout -"
This mirrors your master to gh-pages, pushes to github, then switches back the previous branch you were working on.