Git will not init/sync/update new submodules

后端 未结 21 1982
野趣味
野趣味 2020-12-12 13:11

Here\'s part of the contents of my .gitmodules file:

[submodule \"src/static_management\"]
        path = src/static_management
        url = gi         


        
21条回答
  •  醉梦人生
    2020-12-12 14:02

    • Remove the submodule from your .git/config
    • Run git submodule init command
    • Go to your submodule directory and run git pull origin master

    It should works now

提交回复
热议问题