git submodule list/clone/update

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://*.com/questions/3796927/how-to-git-clone-including-submodules
https://*.com/questions/12641469/list-submodules-in-a-git-repository

git submodule list/clone/update

上一篇:Dom 元素代码


下一篇:ASP.Net中实现上传过程中将文本文件转换成PDF的方法