S1-搭建GitHub个人网站
2016-04-04 本文已影响46人
ShindouHiro
-
用户网站
- 用户名称+github.io
- 通过shindouhiro.github.io便可访问
- 参考资料:
GitHubPages
搬进GitHub

- 项目网站+ 用户网站
-
项目网站
- 项目名任意命名,创建gh-pages分支提交到gh-pages上便可通过shindouhiro.github.io/项目名访问
git clone 项目仓库地址
git checkout -b gh-pages
git add -A
git commit -m 'gh-pages'
git push -u origim gh-pages