Skip to content

Instantly share code, notes, and snippets.

@jnewman12
Last active June 8, 2017 21:19
Show Gist options
  • Save jnewman12/46c74dd27a49cdd028fbbb463e74a818 to your computer and use it in GitHub Desktop.
Save jnewman12/46c74dd27a49cdd028fbbb463e74a818 to your computer and use it in GitHub Desktop.
Github pages intro

Your project on github pages

  • first, make sure you have been pushing your project to github
  • if you're in a good spot for your project, commit and push to master

gh-pages branch

  • go into your project directory in your terminal
  • run git checkout -b gh-pages
  • then run git commit -am "gh-pages branch"
  • then git push origin gh-pages

Live


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment