GitHub Pages Publish

GitHub pages allow a GitHub repository to function as a web-server thing.

… whatevs …

  1. create a repository on GitHub
    • I created game-SpaceShips at
  2. run these from the root;

    rm -dfr .git
    git init
    git checkout -b gh-pages
    git add .
    git commit -m "some stuffff or what"
    git remote add origin
    git push -f origin gh-pages
  3. enjoy!

Peter LaValle avatar
About Peter LaValle
Peter is currently a PhD student at the University of Nottingham. His day work involves applying functional programming to problems with artificial intelligence. Someday maybe he'll retire and be a graphics programmer or demoscene coder.
comments powered by Disqus