Select Language

Categories

  • Home Sites for you personally along with your jobs.

Sites for you personally along with your jobs.

Sites for you personally along with your jobs.

Hosted directly from your own GitHub repository. Simply edit, push, along with your modifications are real time.

What exactly is GitHub Pages? Prepared to get going? Grow your web page from scratch or produce one for the task.

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

Create a repository

Mind over to GitHub and produce a new repository called 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 have it appropriate.

Exactly just What git customer will you be making use of?

Down load GitHub Desktop

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

Clone the repository

Go directly to the folder where you like 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. If the GitHub desktop software starts, save the task.

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

Clone the repository

After finishing the installation, mind back again to GitHub.com and refresh the web web page. Click on the “create in Desktop” button. Once 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 add 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 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 button that is publish.

…and you are done!

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

Make use of a layout, or begin with scratch?

There is the choice 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 existing one. Go through the click reference Settings tab.

Theme chooser

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

Pick a layout

Choose one of many themes from the carousel at the very top. When you are done, click Select theme from the right.

Edit content

Make use of the editor to include 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 produce a fresh repository, or head to an existing one. Go through the create file button that is new.

Hello World

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

Commit the file

Scroll into the bottom of this web web 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 find the master branch supply and then click in the Save key.

…and you are done!

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

Now you should know that you’re up and running, here are a few things.

Running a blog with Jekyll

Utilizing Jekyll, it is possible to blog utilizing gorgeous Markdown syntax, and without the need to cope with any databases. Learn to put up Jekyll.

Custom URLs

Desire to use your custom that is own domain a GitHub Pages web web site? Just produce a file known as CNAME and can include your Address. Browse more.

Learn to produce customized 404 pages, usage submodules, and find out about GitHub Pages.