#!/bin/sh

echo 'setting up gh-pages'
git symbolic-ref HEAD refs/heads/gh-pages \
  && rm .git/index \
  && git clean -fdx \
  && echo 'My Page' > index.html \
  && git add . \
  && git commit -a -m 'Initial commit' \
  && git push -u origin gh-pages \
  && git fetch origin \
  && echo 'complete'
