[git]更新submodule报错:submodule update error: pathspec did not match any file(s) k

 

更新submodule的时候报错:

submodule update error: pathspec  did not match any file(s) known to git.

 

原因不清楚,重新添加一次submodule就正常了,命令:

git submodule add -f URL-of-submoudle path/of/submodule

 

 

你可能感兴趣的:(git)