Git错误

2018-05-17  本文已影响0人  网优仔

Pathspec 'xxx' is in submodule

git rm -rf --cached CocktailMakerModule/
git add CocktailMakerModule/

unable to index file

error: unable to index file third_party
fatal: updating files failed
cd third_party
git add .

再重新提交:

git commit -m "Trying to commit from command line"
上一篇 下一篇

猜你喜欢

热点阅读