1、基于项目的网页git
在你的一个repository里的标签栏中选择settings,选择一种theme。github
就能够直接经过 https://username.github.io/repository 访问了。bash
2、我的网页网站
1.新建一个repository,命名规则为 username.github.iourl
2.本地建立一个文件夹放你的网站用it
3.在本地git bash clone url 操做,讲GitHub上的项目克隆过来io
4.本地会获得新的文件夹 username.github.io命名
5.在文件夹内放置你的网站文件代码,每次本地更新以后,经过git add . git commit -m "更新描述" git push 三步操做将本地更改更新到GitHub。项目
6.https://username.github.io 就是你的网站首页了。文件