Publish Your Own Site For Free on GitHub

What is GitHub? 

(Skip to the steps if you know what Github is)

Github is a web-based platform used for cloud-based Git repository hosting services. GitHub eases the process of working with teams and makes it easy to collaborate on projects. Basically, it is a place where you share and store your stuff and host your HTML, CSS, and javascript projects.

Steps to host your site on GitHub:

Create a GitHub account:

-The most important step. Github Site

GitHub signup page

Create New Repository:

-After signing up click on create a new repository. 

Create a repository

Then name that repository, remember that your web URL will have the same name as of your repository name and choose who can see your repository (public and private). Then check the box Initialize this repository with README.

New repository page

After creating the repository:

-Select branch and create a gh-pages branch.

create gh-pages

repository page

After that prepare your files that you want to upload and rename your main HTML page as index.html. Now click on upload files and select your files. Also, remember to commit a message that describes what you are uploading. Then click on commit changes.

Commit changes

Change some settings:

Repository Settings

-At repository pages, click on settings and scroll down to the Github pages section. Change none to gh-pages branch by clicking on dropdown and click on save changes. And then you will see the link of your site.

gh-pages branchPublish Your Own Site For Free on GitHub

That’s it. You have just uploaded your site on GitHub. You can share the link of your site to your peers, if you have made it public.

Read this also ,Hope you like :Best Alternatives of Chinese Apps

Interested in blogging,
publish your blog with us!

Interested in blogging,
publish your blog with us!

You may also like

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

Enable Notifications    OK No thanks