How to “resolve fatal: Not a git repository”?

后端 未结 5 1268
醉梦人生
醉梦人生 2021-02-01 13:53

I was trying to remove one sub-module from the project

Tried rm -rf .git/modules/submodulePath

After that I am having the issue

5条回答
  •  悲哀的现实
    2021-02-01 14:29

    You simply can update the .git file

    nano {my submodule}/.git

    with the right gitdir.

    Because i think you change the path of your folder

提交回复
热议问题