切换分支的方法 Naomi_ 2026-04-09 3 阅读1分钟 保留某一边版本 保留当前分支版本(ours) git checkout --ours <文件> 保留对方分支版本(theirs) git checkout --theirs <文件> 保留当前编辑器里的版本