Git 合并时 子模块submodule 冲突问题解决方法
假如当前在 branchA,在执行 git merge branchB 时,可能会遇到子仓库文件冲突可以尝试一下命令:git update-index --cacheinfo 0160000, <commit-hash>, "<子仓库path>"//例子git update-index --cacheinfo 0160000,533da4ea00703f4ad6d5518e1ce81d20261c40c0,module-common 其中<commit.
原创
2022-02-15 19:13:03 ·
4949 阅读 ·
0 评论