用新分支:git checkout --theirs 文件用master分支:git checkout --ours 文件 执行之后git add 相关文章: 2021-06-13 2021-06-06