Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Branching for Github Pages
cd ~/Documents/GitHub
mkdir repo-name
cd repo-name
git clone master
git clone gh-pages
cd gh-pages
git checkout origin/gh-pages -b gh-pages
git branch -d master
git branch
|-- master
|-- gh-pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment