Skip to content

Instantly share code, notes, and snippets.

@jnewman12
Created December 15, 2016 17:47
Show Gist options
  • Save jnewman12/a7ceb4c8edeaa94009769ed54b6e920a to your computer and use it in GitHub Desktop.
Save jnewman12/a7ceb4c8edeaa94009769ed54b6e920a to your computer and use it in GitHub Desktop.
Quick slides to push a project repo to github pages

Pushing your projects to github pages


Your project on github pages

  • first, let's make sure everyone has been pushing their 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