First of all, you need to have a gh-pages
. If you don't have, create:
git branch gh-pages
This makes a branch based on the master
HEAD.
It would be okay but the files and the git history of master
branch are not meaningful on gh-pages
branch.