git submodule modified files status

后端 未结 3 1926
说谎
说谎 2021-01-30 04:23

I\'ve added a submodule in my main git folder tree and haven\'t changed anything but it\'s showing up modified. What do I do about this?

$ git status
# On branc         


        
3条回答
  •  终归单人心
    2021-01-30 04:41

    I used the following git command to resolve this problem:

    git submodule update --init  --recursive
    

提交回复
热议问题