We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a7c966 commit 6c5f566Copy full SHA for 6c5f566
README.md
@@ -1040,6 +1040,8 @@ git submodule add --force '仓库地址' '路径'
1040
git submodule init # 初始化 submodule
1041
git submodule update # 更新submodule(必须在根目录执行命令)
1042
git submodule update --init --recursive # 下载的工程带有submodule
1043
+git submodule update --recursive --remote # 对于 git 1.8.2 或更高版本,添加了选项 --remote 以支持更新远程分支
1044
+git pull --recurse-submodules # 更新 submodule git 1.7.3 版本
1045
```
1046
1047
当使用`git clone`下来的工程中带有submodule时,初始的时候,submodule的内容并不会自动下载下来的,此时,只需执行如下命令:
0 commit comments