undefined

git 拉取子模块

1
2
3
4
5
6
7
8
9
10
11
12
13
1. 如果首次克隆仓库及其模块,使用:
git clone --recursive 仓库地址

2. 对于仓库首次拉取模块,可以使用:
git submodule update --init --recursive

3. 更新子模块(适用于git 1.8.2及以上版本)
git submodule update --recursive --remote

4. 更新子模块(适用于git 1.7.3及以上版本)
git submodule update --recursive
或者 git pull --recurse-submodules