我有一个 Github“黄金”帐户,但分配的存储库即将用完。 :-(
幸运的是,我有一些非常小的项目,它们是相互关联的,可以被视为一个更大项目的子模块。在子模块方面我有点新手,所以如果我的问题很天真,请原谅我.. 如果可能的话,
我想将超级模块及其所有子模块推送到一个 Github 存储库中,这将有助于我为真正独立的项目保留剩余的 Github 存储库
。到目前为止,看起来每个子模块都需要有自己的遥控器,如果是这样的话,我很快就会用完存储库,
非常感谢!
I have a Github "Gold" account and I'm starting to run out of my allotted repositories. :-(
Luckily, I have a few very small projects that are interrelated and could be treated as submodules of a bigger project. I'm a bit of a novice when it comes to submodules, so forgive me if my question is naive...
I'd like to push the supermodule along with all of its submodules into one Github repository if that's possible. This would help me conserve my remaining Github repositories for projects that are truly separate. Can I do this?
In my investigation of the problem so far it looks like each submodule needs to have its own remote, and if that's the case then I'll run out of repositories before long!
Thanks much.
发布评论
评论(1)
据我所知,你是对的。每个子模块都是它自己的完整存储库。因此它需要一个额外的存储库才能共享。
As far as I know, you're right. Each submodule is it's own complete repository. So it needs an extra repository to be able to share.