Post a personal site/blog based on GitHub

Source: Internet
Author: User
Tags git clone

We can use GitHub to publish our website (static website), just a few simple steps. This allows small partners to show their personal items to a friend or interviewer.

First step: Create a new warehouse

Step Two: Select the "Settings" page in the warehouse and find the following "GitHub pages" and click to go to a random topic

step three: After selecting a theme, you can see a blog address. Address format: https:// username. github.io/Warehouse name/ when you upload your own file, you can see the page by visiting the address. The default is to access the index.html, if your file is called abc.html, you need to access:https://user name. github.io/Warehouse Name/abc.html

1 first item download to Local: git clone+ code address
2 Put your files in the project folder
3 upload to GitHub, access the link to see
Git add-a
git commit-m ' update code '
Git push Origin Master

My git address: https://github.com/lucas270/staticWeb

Post a personal site/blog based on GitHub

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.