Nathan Eastwood
To create a user or organisation page, go to GitHub and create a new repository with the name username.github.io
where username
is your GitHub user name (or organisation name).
If the first part of the repository doesn’t exactly match your GitHub username, it won’t work, so make sure to get it right.
Go to the folder where you want to store your project, and clone the new repository:
> git clone https://github.com/username/username.github.io
Enter the project folder and add an index.html
file:
> cd username.github.io
> echo "Hello World" > index.html
Add, commit, and push your changes:
> git add .
> git commit -m "Initial commit"
> git push -u origin master
User Pages
Fire up a browser and go to http://username.github.io.
Organisation Pages
gh-pages
branch.Automatic Page Generator
Automatic Page Generator Layouts
There are three main stages to using a custom URL
For more information see https://help.github.com/articles/using-a-custom-domain-with-github-pages/