--recurse-submodules=yes|on-demand|no 此选项控制是否以及在什么条件下也应提取填充的子模块的新提交。
通过在“gitfetch”和“gitpull”中使用“--no-recurse-submodules”选项,可以在命令行上覆盖这两个设置。 submodule.
--ignore-submodules=<when>查找更改时忽略对子模块的更改。<when>可以是“none”,“untracked”,“dirty”或“all”,这是默认设置。
-no-recurse-submodules--recurse-submodules=check|on-demand|only|no 可用于确保所推送的版本所使用的所有子模块提交在远程跟踪分支上可用。
--no-recurse-submodules 使用--recurse子模块将根据超级项目中记录的提交更新所有已初始化的子模块的内容。如果覆盖子模块中的本地修改,则除非-f使用,否则检出将失败。
--ignore-submodules=<when> 忽略差异代中子模块的更改。<when>可以是“none”,“untracked”,“dirty”或“all”,这是默认设置。
--ignore-submodules=<when> 忽略差异代中子模块的更改。<when>可以是“none”,“untracked”,“dirty”或“all”,这是默认设置。
--ignore-submodules=<when> 忽略差异代中子模块的更改。<when>可以是“none”,“untracked”,“dirty”或“all”,这是默认设置。
--ignore-submodules=<when> 忽略差异代中子模块的更改。<when>可以是“none”,“untracked”,“dirty”或“all”,这是默认设置。

扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2026 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059
粤公网安备44030502008569号
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号
