Sites for you personally as well as your tasks.

Hosted straight from your own GitHub repository. Simply edit, push, as well as your how to create a responsive website modifications are real time.

You can get one web site per GitHub account and company, and limitless task internet sites. Let‘s get going.

Create a repository

Mind over to GitHub and produce a repository that is new username.github.io, where username is the username (or company title) on GitHub.

In the event that part that is first of repository does not precisely suit your username, it won’t work, therefore remember to obtain it appropriate.

just What git customer will you be utilizing?

Down load GitHub Desktop

GitHub Desktop is really a way that is great make use of Git and GitHub on macOS and Windows.

Clone the repository

Go right to the folder for which you wish to keep any project, and clone the repository that is new

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

Clone the repository

Click on the “create in Desktop” button. Once the GitHub desktop software starts, save the project.

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

Clone the repository

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

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

Hello World

Enter the task folder and include an index.html file:

$ echo “Hello World” > index.html

Create an index file

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

Add, commit, and push your modifications:

$ git commit -m “Initial commit”

$ git push origin master that is-u

Commit & publish

Go into the repository, commit your modifications, and press the button that is publish.

…and you’re done!

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

Make use of a layout, or begin with scratch?

You’ve got the solution to begin with one of many themes that are pre-built or even to produce a website from scratch.

  • Select a layout
  • Begin from scratch

Repository Settings

Mind over to GitHub.com and produce a unique repository, or head to an one that is existing. Click 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. When you are done, click Select theme from the right.

Edit content

Make use of the editor to incorporate content to your website.

Enter a comment that is commit click Commit changes below the editor.

Create an index file

Mind over to GitHub.com and create a unique repository, or head to an existing one. Go through the Create new file switch.

Hello World

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

Commit the file

Scroll to your base associated with web page, write 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 section. Then find the master branch click and source in the Save key.

…and you are done!

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

Running a blog with Jekyll

Utilizing Jekyll, you are able to blog utilizing gorgeous Markdown syntax, and without the need to deal with any databases. Discover ways to put up Jekyll.

Custom URLs

Desire to use your very own customized domain for a GitHub Pages site? Just produce a file called CNAME and can include your Address. Find out more.

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