Skip to content

Instantly share code, notes, and snippets.

View matt-riley's full-sized avatar

Matt Riley matt-riley

View GitHub Profile

Intro

Setup GitHub Pages "gh-pages" branch as a subfolder within the "master" project on your local checkout.

IMPORTANT

If you plan on switching between different branches (e.g. git checkout master-experiment then revert back with git checkout master) you will loose your child folder from this tutorial (because it's in your .gitignore and is not part of your master branch).

Keybase proof

I hereby claim:

  • I am matt-riley on github.
  • I am mattriley (https://keybase.io/mattriley) on keybase.
  • I have a public key ASC19axRfAFpmCrn66YH-Psg-CzK31WAtLDivGYNhLU9gQo

To claim this, I am signing this object: