pull using git including submodule

前端 未结 2 937
长情又很酷
长情又很酷 2021-01-30 06:50

In one of my iOS project I have add a sub-module added, lets say a friend of my wants to pull it including the submodule, how can he do this? Whenever I tried to download the z

2条回答
  •  暖寄归人
    2021-01-30 07:36

    You can clone with the --recursive option in order to automatically initialize and update the submodules (and any submodules that those submodules contain, etc.)

    git clone --recursive 
    

提交回复
热议问题