Add subproject as usual folder to repository

后端 未结 1 1188
余生分开走
余生分开走 2021-01-12 11:10

I noticed that in my directory there were two modules that had been Subprojects of my Git repository. That happened because I moved them all to one Git repo and those module

相关标签:
1条回答
  • 2021-01-12 11:23

    After suggestion I looked at this: un-submodule a git submodule

    First tried:

    git submodule deinit
    

    After this it didn't change the old behavior. But when I did this:

    git rm --cached yourSubmodule
    

    Then it removed it as submodule and git started seeing those modules in main repository.

    0 讨论(0)
提交回复
热议问题