首页 > 其他 > 详细

git submodule list/clone/update

时间:2021-08-11 15:27:39      阅读:19      评论:0      收藏:0      [点我收藏+]

list all submodules:
git submodule status --recursive

clone all submodules:
git clone --recurse-submodules https://github.com/QuasarApp/CQtDeployer.git
or
git clone https://github.com/songpeng22/linux --recurse-submodules

clone and then update submodules:
git submodule update --init --recursive
or
git submodule init
git submodule update


参考文献:
https://stackoverflow.com/questions/3796927/how-to-git-clone-including-submodules
https://stackoverflow.com/questions/12641469/list-submodules-in-a-git-repository

git submodule list/clone/update

原文:https://www.cnblogs.com/hkingsp/p/15128126.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!