Skip to content

Instantly share code, notes, and snippets.

@brospars
Created October 16, 2015 11:21
Show Gist options
  • Save brospars/2e391144290f8182b5f3 to your computer and use it in GitHub Desktop.
Save brospars/2e391144290f8182b5f3 to your computer and use it in GitHub Desktop.
Github pages in subfolder "demo/"
// Create Github Page branch
git checkout -b gh-pages
git push origin gh-pages
// Update Github Page branch from master
git checkout gh-pages
git pull .master
git push origin gh-pages
git checkout master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment