Git submodule init async

后端 未结 4 1497
一生所求
一生所求 2021-02-19 16:21

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 17:03

    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.

提交回复
热议问题