Git submodule init async

后端 未结 4 2317
清酒与你
清酒与你 2021-02-19 16:02

When I run git submodule update --init first time on a projects which have a lot of submodules, this usually take a lot of time, because most of submodules are stor

4条回答
  •  感动是毒
    2021-02-19 16:59

    As of Git 2.8 you can do this:

    git submodule update --init --jobs 4
    

    where 4 is the number of submodules to download in parallel.

提交回复
热议问题