我正在使用Github Pages来托管和提供静态网站.
静态网站具有应用程序的典型目录结构:
|_ source
|_ build
|_index.html
.gitignore
config.rb
Gemfile
...
README.MD
Run Code Online (Sandbox Code Playgroud)
index.html是的build/,所以我想把它作为默认www路径.
因此,当用户点击username.github.io它时,会在该子目录中呈现内容,但它不会在URL上显示"/ build"/,因此将其设置为根文件夹.
笔记:
我正在尝试在Ubuntu机器上设置Git(我正在使用运行Ubuntu 12.04的三星Chromebook).
当我输入"sudo apt-get install git"并成功安装了Git 1.79
user@ChrUbuntu:~$ git --version
git version 1.7.9.5
Run Code Online (Sandbox Code Playgroud)
我无法弄清楚我在这里做错了什么.有什么建议?