具有嵌套提交/整体提交到单个repo的嵌套Github项目

具有嵌套提交/整体提交到单个repo的嵌套Github项目,github,phpstorm,Github,Phpstorm,我正在从事一个项目,开发该项目需要2个github回购协议。然后项目结构看起来像这样 - project-folder -- Connected To Github --- inc --- git-repo1 -- Connected To Github --- inc --- git-repo2 -- Connected To Github 到目前为止,我能够将每一笔回购承诺给他们的github回购。但我无法提交一个项目文件夹及其所有子github 乙二

我正在从事一个项目,开发该项目需要2个github回购协议。然后项目结构看起来像这样

- project-folder -- Connected To Github
   --- inc
   --- git-repo1 -- Connected To Github
     --- inc
        --- git-repo2 -- Connected To Github
到目前为止,我能够将每一笔回购承诺给他们的github回购。但我无法提交一个项目文件夹及其所有子github

乙二醇

如果我转到项目url 我只能看到inc文件夹 不是git-repo1文件夹

如果我进入git-repo1 url,则只能看到inc,而不能看到git-repo2
还有什么办法可以完成吗?

@RetiredInja谢谢,但我不想把它用作子模块。那你想要什么?您想将所有内容都放在一个存储库中吗?那么为什么要使用3个存储库呢?我需要像ProjectRepo一样在其中同时包含git-repo1和git-repo2源代码。git为您提供的功能是子模块和子树。耸肩