Web sites for you personally along with your tasks.

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

What’s GitHub Pages? Prepared to get going? Grow your site that is own from or produce one for the task.

You will get one web site per GitHub account and company, and limitless task websites. Let‘s get going.

Create a repository

Mind over to GitHub and create a repository that is new username.github.io, where username can be your username (or company name) 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 have it appropriate.

Exactly just What git customer have you been utilizing?

Down load GitHub Desktop

GitHub Desktop is really a great option to make use of Git and GitHub on macOS and Windows.

Clone the repository

Go right to the folder in which you desire to keep assembling your 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. Once the GitHub desktop application opens, save the task.

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

Clone the repository

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

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

Hello World

Go into 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 any project:

Add, commit, and push your modifications:

$ git commit -m “Initial commit”

$ git push origin master that is-u

Commit & publish

Enter the repository, commit your modifications, and press the publish key.

…and you are done!

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

Make use of a style, or begin with scratch?

You’ve got the choice to begin with among the themes that are pre-built or even produce a website from scratch.

Repository Settings

Mind over to GitHub.com and produce a brand new repository, or head to an existing one. Click the Settings tab.

Theme chooser

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

Pick a layout

Select one of several themes through the carousel at the very top. When you are done, click Select theme regarding the right.

Edit content

Utilize the editor to incorporate content to your internet website.

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

Create an index file

Mind over to GitHub.com and produce a unique repository, or head to an one that is existing. Go through the generate new file switch.

Hello World

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

Commit the file

Scroll towards the bottom for the web page, compose a commit message, and commit the brand new file.

Repository Settings

Click the Settings scroll and tab 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 browser and head to http://username.github.io/repository.

Now that you’re installed and operating, here are a few things you must know.

Running a blog with Jekyll

Utilizing Jekyll, you are able to blog utilizing Markdown that is beautiful syntax and without the need to cope with any databases. Learn to put up Jekyll.

Custom URLs

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

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