Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to build github's personal blog

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

In this issue, the editor will bring you a personal blog on how to build github. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.

A relatively simple way is to use github to host personal blogs

In fact, it is to build a warehouse on github, and then upload your own local files.

This article assumes that the reader is familiar with github and git related operations.

1. First log in to github's official website to apply for an account, and then log in

2. Enter the following interface

Click New repository in the upper right corner to create a new warehouse

3, and then click the following figure to select

Repository name must be suffixed with .io, and then click create

4, and then copy the path in this interface

You may need to install git and configure git before performing this step, which assumes that the reader has already configured it.

5, and then open the path where git executes git clone followed by replication

You can copy this warehouse locally.

6, and then go to the random website to have the next blog template, such as https://html5up.net/

Then replace all the files under the folder of the local corresponding warehouse (only the .git folder).

7, and then just like the normal git operation, git add,git commit, git push will be ok.

8. If you want to modify the content of the blog, you only need to modify the index.html and related files locally, which is no different from ordinary web programming, and then git add,git commit, git push will ok.

To sum up, if you are proficient in using github and git, it is actually

1, set up a repository of .io suffixes in github

2, and then operate the warehouse as an ordinary warehouse, but replace all the contents of the files with relevant web web files, the method of modifying the blog is the same as using git to modify the code, but modify the web file locally and then submit it.

So far, I have completed a very simple and quick way to build a personal blog.

The above is the personal blog that the editor shared with you on how to build github. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report