git submodule foreach --recursive git submodule init git submodule foreach --recursive git submodule update 这样貌似可以一次搞定了.