git submodule init ignore failed

2019-08-27 16:01发布

问题:

I just pulled https://github.com/kolanos/kohana-universe and now I'm trying to update all the modules running:

git submodule update --init --recursive

Some of the repos are wrong or not existent anymore, and the command breaks in the middle.

Is there an option for the command to ignore the failed updates?

回答1:

The only way i know is to remove broken submodule. This is how you can remove submodules - How do I remove a submodule?



标签: git kohana