摘要: git submodule update 的核心作用是让子模块的代码与当前主仓库记录的提交保持一致。 常用用法如下: 1. 拉取子模块到主仓库记录的版本 git submodule update 2. 初始化并更新所有子模块(首次 clone 含子模块的仓库时使用) git submodule up 阅读全文
posted @ 2025-11-28 14:22 zhishaofei3 阅读(8) 评论(0) 推荐(0)