Skip to content

Instantly share code, notes, and snippets.

@schoenwaldnils
Created October 31, 2016 22:29
Show Gist options
  • Save schoenwaldnils/456636fe81e6eacd22ff2a486c0d166d to your computer and use it in GitHub Desktop.
Save schoenwaldnils/456636fe81e6eacd22ff2a486c0d166d to your computer and use it in GitHub Desktop.
Add gh-pages branch.
git checkout --orphan gh-pages
git rm -rf .
touch README.md
git add README.md
git commit -m "Init gh-pages"
git push --set-upstream origin gh-pages
git checkout master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment