git submodule init ignore failed

扶醉桌前 提交于 2019-12-12 03:19:29

问题


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?



来源:https://stackoverflow.com/questions/9886905/git-submodule-init-ignore-failed

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!