当前位置: 动力学知识库 > 问答 > 编程问答 >

git - No .gitmodules file and empty submodule directories

问题描述:

I created sub-modules inside an existing repo by simply cloning one repo inside the other. Note: They appear as submodules in gitblit.

Because I created my submodules as described above, no '.gitmodules' file was created. This is an issue because when I clone my 'super' repo which contains the sub-repos/modules, there is nothing inside the submodule directories.

How can I fix this?

Note: The repos I want to include as sub-modules are actually side branches of existing repos.

分享给朋友:
您可能感兴趣的文章:
随机阅读: