#!/usr/bin/env bash

git stash && \
git checkout gh-pages && \
git rebase master && \
rm -rf docs && \
docco emails.coffee utils.coffee && \
git add . && \
git commit -a -m 'Generate documentation' && \
git push -f origin gh-pages && \
git checkout master && \
git stash pop && \
echo "Done: Generated documentation"

#!/usr/bin/env bash

git stash && \
git checkout gh-pages && \
git rebase master && \
rm -rf docs && \
rm -rf example && \
docco emails.coffee utils.coffee && \
git add . && \
git commit -a -m 'Generate documentation' && \
git push -f origin gh-pages && \
git checkout master && \
git stash pop && \
echo "Done: Generated documentation"

Remove example app in gh-pages branch
Remove example app in gh-pages branch
