使用架构创建一个项目:
| _ Source
| _ Build
| _index.html
Run Code Online (Sandbox Code Playgroud)
添加分支: git subtree push --prefix build origin gh-pages
我把这个分支作为github页面的源,但是在下面的链接上找不到页面:
YourName.github.io/RepoName
Run Code Online (Sandbox Code Playgroud)
只找到以下链接:
YourName.github.io/RepoName/index.html
Run Code Online (Sandbox Code Playgroud)
由于不正确的链接不起作用脚本,样式和图像未加载。
github-pages ×1