/*********************************************************************************
* git get submodule after clone
* 说明:
* 在git clone之后获取子模块的。
*
* 2018-1-3 深圳 南山平山村 曾剑锋
********************************************************************************/
一、参考文档:
1. 7.11 Git 工具 - 子模块
https://git-scm.com/book/zh/v2/Git-%E5%B7%A5%E5%85%B7-%E5%AD%90%E6%A8%A1%E5%9D%97
二、处理方法:
1. 添加子模块:
git submodule add <git repo url>
2. git clone的时候获取repo:
git clone --recursive <git repo url>
3. git clone之后获取repo:
1. git submodule init
2. git submodule update