我可以为github页面创建多个存储库吗? [英] Can I create more than one repository for github pages?

查看:306
本文介绍了我可以为github页面创建多个存储库吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个存储库,用于在github上托管博客。是否有任何方法可以创建更多托管多个博客?我只限于一个托管存储库(因为 username.github.com 只能使用一次?)

解决方案

您可以为每个GitHub存储库创建一个站点。 username.github.io以外的存储库将发布在 http://username.github.io/REPONAME。这些存储库将发布您推送到gh-pages分支的任何内容。



更好的描述可在 GitHub Pages文档 b
$ b

自2013年4月起,所有 username.github.com 现在 username.github.io


I created a repository for hosting a blog on github.Is there any way that I can create more to host multiple blogs?Am I limited to just one repository for hosting(since username.github.com can only be used once?)

解决方案

You can have one site per GitHub repository. Repositories other than "username.github.io" will be published at http://username.github.io/REPONAME. Those repositories will publish whatever you push to the "gh-pages" branch.

A better description is available in the GitHub Pages documentation.

(since April 2013, all username.github.com are now username.github.io)

这篇关于我可以为github页面创建多个存储库吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆