my-demo-site

How to publish a site

  1. create github account
  2. create github repository
  3. on your computer git clone [repo url]
  4. put files into your new folder
  5. git add .
  6. git commit -m "my files"
  7. git checkout -b gh-pages
  8. git push origin gh-pages

Make sure you have a file called index.html in your repository and then http://your-user-name.github.io/project-name should work