Skip to content

Instantly share code, notes, and snippets.

View orkist's full-sized avatar

Cornita Pinchinat orkist

View GitHub Profile
@alysonla
alysonla / pages.md
Last active September 15, 2015 01:07
GH Pages Cheatsheet

How to gh-pages

  1. Create a front-end project & name index.html
  2. cd into the project in terminal
  3. Run git init to initialize the git repo in the project
  4. Create & switch to branch called gh-pages - git checkout -b gh-pages
  5. Go to github.com the website and create a new repo
  6. Do not add a readme..
  7. Use the cheatsheat to add the remote - git add remote....
  8. Run git add . to add & stage all your files