Skip to content

Instantly share code, notes, and snippets.

@paradite
Last active January 31, 2016 16:55
Show Gist options
  • Save paradite/920623430d3ffc125901 to your computer and use it in GitHub Desktop.
Save paradite/920623430d3ffc125901 to your computer and use it in GitHub Desktop.
set up gh-pages branch and remove master branch
git checkout -b gh-pages
git push --set-upstream origin gh-pages
git branch -d master
(change default branch on GitHub to gh-pages)
git push origin :master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment