#Publish a folder to gh-pages
Scenario: You have a local target folder app that you wish to pubish to gh-pages
Add the target folder to to your .gitignore repository.
Clone the repository to the target folder app, delete the contents and add your files to be published
$ git clone https://github.com/alyssa/polymer app
$ cd app
$ git checkout --orphan gh-pages
$ git rm -rf
$ git add index.html
$ git commit -am "publish to gh-pages"
$ git push origin gh-pages
$ cd ..