Created
October 26, 2014 20:36
-
-
Save chrisma/2074bc2d6dbdbbdea138 to your computer and use it in GitHub Desktop.
Replace master branch with gh-pages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git branch gh-pages | |
git checkout gh-pages | |
git branch -D master | |
git push origin gh-pages | |
# Set gh-pages as default branch in admin interface | |
git push origin :master # delete master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment