我在github上创建了一个repository来托管一个博客.有没有什么方法可以创建更多的来托管多个博客?我是否仅限于一个托管存储库(因为username.github.com只能使用一次?)
我在github上创建了一个repository来托管一个博客.有没有什么方法可以创建更多的来托管多个博客?我是否仅限于一个托管存储库(因为username.github.com只能使用一次?)
通过将一个站点发布到名为"username.github.io"的存储库的主分支(替换您的实际用户名),您可以将一个站点发布到https://<username>.github.io
.
您还可以为发布到https://<username>.github.io/<project>
的每个GitHub项目添加一个站点.项目设置让你choose which branch and directory to publish.
GitHub Pages documentation中有更好的描述,包括使用自定义域名的选项.
(since April 2013,所有username.github.com
现在都是username.github.io
)