如何使用git difftool来区分合并冲突? [英] How to use git difftool to diff merge conflicts?
本文介绍了如何使用git difftool来区分合并冲突?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
合并失败后出现一些冲突,我可以用 git diff
,
但是 git difftool
不会显示他们在配置difftool设置(在我的情况万花筒),而是它只会使用正常的差异。
A
有没有办法在合并冲突时使用git difftool?
感谢Jan
解决方案
尝试 git mergetool
。
After a merge failed with some conflicts I can list those with git diff
,
but git difftool
won't display them with the difftool set in the config(in my case Kaleidoscope), instead it will just use normal diff.
A git difftool
comparing with a previous commit will work.
Is there a way to use git difftool on merge conflicts?
Greets Jan
解决方案
Try git mergetool
.
这篇关于如何使用git difftool来区分合并冲突?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文