Git Submodule 踩坑记:从 .gitmodules 自动初始化所有子模块 手动维护 .gitmodules 后发现 git submodule init 不会自动克隆?记录从基础用法到踩坑排错,最终写了一个 Python 脚本自动化处理的完整过程。 技术折腾 2026年4月18日