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

I’m freelance graphic, website designer. Currently, I get into the secrets of the world of Fedora Linux, SSH, WP-CLI and I’m preparing this blog about WordPress.

More:

30 Graphic & Design sites A list of the 30 Graphic & Design sites from around the web.AbduzeedoSmashing MagazineWeb Designer WallGoMediaZineWebdesigner De...
Corporate Identity Design Templates In these days we worked on the design of CD packaging and other poster print. We found and we took some interesting templates, including complete sets...
Hobbies that will make you money – Infograph... Hobbies are a great way to relax when you are not busy working. Did you know that in addition to being enjoyable, they can also serve as secondary inc...
Why A Custom Logo Design is a little portion of gr... Your desire to create custom Logo Design is to develop a unique and innovative Logo Design that stands out from the rest. A custom Logo Design builds ...
Publishing systems – WordPress 4.8 “Evans... Version 4.8 of WordPress, named “Evans” in honor of jazz pianist and composer William John “Bill” Evans, is available for download or update in you...

Leave a Reply


Close Menu

Pin It on Pinterest