文章列表: 1 篇
2023-12-09
git submodule 常用操作
2023-12-09 ~ 2023-12-09
git submodule 操作 添加 不指定分支 1 2 3 git submodule add url <path> # url: 子模块的路径 # path: 子模块存放路径 指定分支 1 git submodule add -b brach https://github.com/t/b.git a/a 使用 1 2 3 4 git submodule update –init –recursive # 等价于: git submodule init git sumbodule update 更新 1 2 3 4 cd 子模块