git checkout --ours 【学习笔记】

用新分支:git checkout --theirs 文件
用master分支:git checkout --ours 文件

执行之后git add

原文地址:https://www.cnblogs.com/zzb-Dream-90Time/p/10736205.html