通过GitHub网站建网页存储仓库
仓库名有要求,必须是 用户名.github.io,这样通过浏览器访问的时候才能访问到
点击“New repository”,新建仓库
克隆到本地
打开GitHub客户端,Clone仓库neet007.github.io
在本地GitHub文件夹,查看仓库neet007.github.io克隆情况
建立网页文件
在本地仓库文件夹neet007.github.io中建立helloworld网页文件
push网页文件
本地仓库文件夹有变动,客户端马上检测到
将helloworld网页文件Commit、Sync到远程GitHub网站
在GitHub网站查看,helloworld网页文件push情况
访问网页文件
在本地浏览器地址栏输入网页仓库名neet007.github.io,访问helloworld网页文件
建在branch下的网页文件,需merge到master下,才能deploy
访问域名:仓库名.github.io