我已将存储库克隆到 PatchBasedInpaintingDevelop。我已经在那里工作了一段时间,没有任何问题。然后我决定在本地重命名文件夹。我做了'mv PatchBasedInpaintingDevelop PatchBasedInpainting',现在 git status 抱怨子模块,说:
doriad@daviddesktop:/media/portable/Projects/PatchBasedInpainting$ git status
fatal: Not a git repository: /media/portable/Projects/PatchBasedInpaintingDevelop/.git/modules/ITKQtHelpers
有没有办法在不破坏子模块结构的情况下做到这一点?