GitHub Pages lets you turn GitHub repositories into websites that showcase your portfolio, your projects, their documentation, or anything else you want to share with the world. Get started today by visiting https://pages.github.com to learn more.

What is GitHub Pages?

Create a repository

Head over to GitHub and create a new repository named username.github.io, where username is your username (or organization name) on GitHub. If the first part of the repository doesn’t exactly match your username, it won’t work, so make sure to get it right.

Clone the repository

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

Hello World

Enter the project folder and add an index.html file:

~$ cd username.github.io
~$ echo "Hello World" > index.html

Push it

Add, commit, and push your changes:

~$ git add --all
~$ git commit -m "Initial commit"
~$ git push -u origin master

Settings

Open Github, go to your repository, on top select card Settings, scroll down and find section Github Pages. There is your site url.

Settings

Select theme

Click on Select theme button and choose the theme you want.

Select theme

Related:

Setting up your GitHub Pages site locally with Jekyll – User Documentation

Source:

Websites for you and your projects, hosted directly from your GitHub repository. Just edit, push, and your changes are live.

GitHub Pages | Websites for you and your projects, hosted directly from your GitHub repository. Just edit, push, and your changes are live.

GitHub Pages - Just edit, push, and your changes are live

GitHub Pages

GitHub Pages lets you turn GitHub repositories into websites.

Learn more..

David

Graphic and website designer, currently, I attend to the maintenance of about thirty sites for existing clients as well as creating websites for the new ones. In my free time, I get into the secrets of the world of Linux, SSH, WP-CLI and I’m preparing this blog.

More:

Great Social Media Guidelines for the Students and... Have a look below to Great Social Media Guidelines for the Students and the Job Seekers. Social Media definitely plays an important role in the lives ...
The Ultimate Video Guide to WORDPRESS The Ultimate Video Guide to WordPress Help You Churn Out Site after Site almost at Will the Very First Time You View Them…!!! This is an absolute mus...
15 WordPress Blogs & Themes sites A list of the 15 Wordpress Blogs & Themes sites from around the web. Weblog Tools Collection WordPress Hacks Lorelle on WordPress Yoast ...
A Roundup of Negative Space in Logo Design While there are many different types of logos – from elegant and refined to quirky and surprisingly unexpected – my favourite logos are the ones that ...
Choosing the Right CMS for Your Business Needs Dot Com Infoway (DCI), has unveiled yet another infographic titled, “Content Management Systems: Choosing the Right One for Your Business Needs”. The ...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.


Newsletter

Join our mailing list to receive the latest news and updates.

You have Successfully Subscribed!

Pin It on Pinterest