在变基时自动解决 smartgit 中的冲突

Cur*_*ous 3 git conflict rebase smartgit

smartgit 中有一个很好的功能,可以将冲突的文件设置为 rebase 目标,这是通过在文件上调用命令 ' Set to rebase target ("theirs") '。

但是,我希望在变基期间对每个冲突的文件自动完成此操作。有太多的提交和冲突的文件,手动解析每个文件非常耗时。

有没有办法让smartgit自动执行该解决方案?

谢谢。

And*_*and 8

如果 smartgit 和 git 一样聪明,那就去看看

git rebase -s recursive -X theirs
Run Code Online (Sandbox Code Playgroud)

  • `git rebase -s recursive -X 他们的上游` (2认同)