Internet sites for you personally as well as your tasks.

Hosted straight from your own GitHub repository. Simply edit, push, as well as your modifications are real time.

You receive one site per GitHub account and company, and project that is unlimited. Let‘s get going.

Produce a repository

Mind over to GitHub and create a brand new repository known as username.github.io, where username can be your username (or company title) on GitHub.

In the event that very first the main repository does not precisely match your username, it won’t work, therefore be sure to have it appropriate.

Exactly just What git customer are you currently making use of?

Down load GitHub Desktop

GitHub Desktop is really a way that is great utilize Git and GitHub on macOS and Windows.

Clone the repository

Go directly to the folder where you like to keep any project, and clone the new repository:

$ git clone https://github.com/username/username.github.io

Clone the repository

Click on the “create in Desktop” button. As soon as the GitHub desktop software opens, save the task.

In the event that software does not start, launch it and clone the repository through the software.

Clone the repository

After finishing the installation, head back again to GitHub.com and refresh the web web page. Click on the “create in Desktop” button. As soon as the GitHub desktop application starts, save the task.

In the event that software does not open, introduce it and clone the repository through the software.

Hello World

Enter the task folder and how to create a website include an index.html file:

$ echo “Hello World” > index.html

Create an index file

Grab your text that is favorite editor include an index.html file to assembling your shed:

Add, commit, and push your changes:

$ git commit -m “Initial commit”

$ git push -u origin master

Commit & publish

Go into the repository, commit your modifications, and press the publish switch.

…and you are done!

Turn on a web browser and head to https://username.github.io.

Utilize a style, or begin from scratch?

You’ve got the choice to focus on one of many themes that are pre-built or even produce a website from scratch.

  • Select a style
  • Begin with scratch

Repository Settings

Mind over to GitHub.com and produce a new repository, or head to an one that is existing. Go through the Settings tab.

Theme chooser

Scroll down seriously to the GitHub Pages area. Press Select a layout.

Choose a style

Select one of many themes through the carousel towards the top. If you are done, click Select theme regarding the right.

Edit content

Make use of the editor to incorporate content to your internet site.

Enter a commit remark and click Commit changes below the editor.

Create an index file

Mind over to GitHub.com and create a brand new repository, or head to an existing one. Go through the generate new file key.

Hello World

Name the file index.html and kind some HTML content into the editor.

Commit the file

Scroll into the base associated with the web web page, compose a commit message, and commit the file that is new.

Repository Settings

Go through the Settings tab and scroll right down to the GitHub Pages area. Then choose the master branch supply and then click in the Save switch.

…and you are done!

Turn on a web web web browser and head to http://username.github.io/repository.

Running a blog with Jekyll

Making use of Jekyll, it is possible to blog making use of Markdown that is beautiful syntax and without the need to cope with any databases. Learn to create Jekyll.

Custom URLs

Desire to make use of your very own custom domain for a GitHub Pages web site? Just develop a file called CNAME and include your URL. Find out more.

Discover ways to produce customized 404 pages, usage submodules, and find out more about GitHub Pages.