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 git@github.com:g-pechorin/game-SpaceShips.git
  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@github.com:g-pechorin/game-SpaceShips.git
    git push -f origin gh-pages
    
  3. enjoy!

Peter LaValle avatar
About Peter LaValle
honks at geese. speaks the byzantine languages that make the magic boxes do the things. Someday maybe I'll retire and be a graphics programmer or demoscene coder.
comments powered by Disqus