-
Create a local branch named gh-pages:
$
git checkout -b gh-pages
-
Push both your master branch and your gh-pages branch to Github:
$
git push origin master
$git push origin gh-pages
-
Find the link to your live site under the
Settings
menu at the top of your repository. Once you clickSetings
, scroll down until you seeGithub Pages
and you should find the link where your site is now hosted. -
Click the
Edit
button on your main repository page to display fields where you will add your project description and the website URL.