处理合并冲突的编辑器

发布于 2024-12-07 09:40:30 字数 154 浏览 4 评论 0原文

是否有一个编辑器可以识别合并冲突标签并并排显示各个部分?最好是像 p4merge 这样的东西?

<<<<< local
...
=========
....
>>>>> remote

Is there an editor that recognizes merge conflict tags and displays the sections side by side? Preferably something like p4merge?

<<<<< local
...
=========
....
>>>>> remote

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

心是晴朗的。 2024-12-14 09:40:30

我们的工具 ECMerge (http://www.elliecomputing.com) 可以做到这一点,它有一个“打开冲突文件”菜单,其中包含可与 SVN、CVS、Mercurial、Bazaar、Git 和 Perforce 的标记配合使用。
Linux 上的 Windows Exlorer、Nautilus、Konqueror 和 Thunar 的资源管理器插件中也存在该菜单。

our tool ECMerge (http://www.elliecomputing.com) does that, it has a Open Conflict file menu which works with markers from SVN, CVS, Mercurial, Bazaar, Git and Perforce.
the menu is present also in the explorer plugins for Windows Exlorer, Nautilus, Konqueror and Thunar on Linux.

楠木可依 2024-12-14 09:40:30

我的方法是使用 KDiff3 (一个非常有用的 diff/merge 工具)并为其提供 3 个文件使用 git cat-file 和 git ls-files -u 提取。这是一项工作,但随后我就会确切地知道发生了什么。 Git 添加了对配置特定合并工具的支持,因此可能应该可以比

My approach to this has been to use KDiff3 (an extremely useful tool for diff/merge) and feed it 3 files extracted with git cat-file and git ls-files -u. It is a bit of work, but then I get to know exactly what is going on. Git have added support for configuring a specific merge tool, so probably it should be possible to do the operation more simpler than

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文