Mind over to GitHub and produce a brand new repository known as username.github.io, where username is the username (or organization title) on GitHub.
In the event that part that is first of repository does not exactly suit your username, it won’t work, therefore be sure to have it appropriate.
GitHub Desktop is a way that is great utilize Git and GitHub on macOS and Windows.
Go directly to the folder for which you wish to keep assembling your shed, and clone the new repository:
$ git clone https://github.com/username/username.github.io
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 application.
After completing the installation, mind back again to GitHub.com and refresh the web web page. Click on the “create in Desktop” button. As soon as the GitHub desktop software starts, save the task.
In the event that application does not start, introduce it and clone the repository through the application.
Go into the task folder and include an index.html file:
$ echo “Hello World” > index.html
Grab your favorite text editor and include an index.html file to assembling your shed:
Add, commit, and push your changes:
$ git commit -m “Initial commit”
$ git push origin master that is-u
Enter the repository, commit your modifications, and press the publish key.
Turn up a web browser and go to https://username.github.io.
You’ve got the solution to focus on one of many pre-built themes, or even to produce a niche site from scratch.
Mind over to GitHub.com and create a unique repository, or head to an one that is existing. Go through the Settings tab.
Scroll down seriously to the GitHub Pages area. Press Select a style.
Select one of many themes through the carousel at the very top. If you are done, click Select theme regarding the right.
Utilize the editor to include content to your website.
Enter a commit comment and click Commit changes below the editor.
Mind over to GitHub.com and produce a fresh repository, or visit an existing one. Click the generate new file key.
Name the file index.html and kind some HTML content into the editor.
Scroll towards the base associated with the web web web page, compose a commit message, and commit the file that is new.
Click the Settings tab and scroll right down to the GitHub Pages area. Then choose the master branch supply and then click regarding the Save key.
Turn up a web web browser and head to http://username.github.io/repository.
Utilizing Jekyll, you can easily blog utilizing stunning Markdown syntax, and and never having to cope with any databases. Discover ways to put up Jekyll.
Wish to utilize your very own customized domain for a GitHub Pages web web site? Just produce a file known as CNAME and can include your Address. Find out more.
Learn to produce customized 404 pages, usage submodules, and find out about GitHub Pages.