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, specialising in developing modern and responsive WordPress, PrestaShop custom themes. Currently, I attend to the maintenance of about thirty sites for existing clients as well as creating websites for the new ones.

More:

Advantages of Effective Graphic Design for your Bu... With more than 435 billion dollars worth of business now being done online, the Internet has been successful in gaining widespread popularity across t...
How To Speed Up Your WordPress Website Check out How To Speed Up Your WordPress Website Infographic by our friends from wpshrug.com. When talking about website speed, a lot of publishers - ...
Tricks to choose best twitter plugins for your Wor... With the advent of social media, the marketing metrics have undergone a large change. Twitter is a powerful platform which can be integrated into Word...
BM Custom Login Plugin This plugin was designed to quickly build custom login page, contains all the files needed to change the layout. Download BM Custom Login Plugin. ...
Divi 3.0+ WordPress Theme Resource Toolbox This is our second Divi Theme Resource Toolbox that contains links to most important tutorials, videos and CSS tricks for Divi Theme. Divi is getting ...

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