在 Eclipse 中不使用时,清楚地解释了如何使 BC 成为 Subversion 和 Git 的默认差异和合并工具。但是后者呢?我不断收到以下对话框:
更新:
添加到我的全局 .gitconfig 和 git difftool
命令现在可以使用了。不能对 Eclipse 说同样的话。我不明白为什么设置起来如此困惑。
[diff]
tool = bc3
[difftool]
prompt = false
[difftool "bc3"]
cmd = \"C:/Program Files (x86)/Beyond Compare 3/BComp.exe\" "$LOCAL" "$REMOTE"
我的 Eclipse 配置现在看起来像:
最佳答案
This thread建议:
- 修改 git 配置
Eclipse Preferences, under
Team -> Git -> Configuration
, it points to a.gitconfig
file. (and declare beyond compare as documented) - 或者...使用 Intellij IDEA(!)
Beyond Compare 和 Eclipse 本身的集成是基于插件的,因此 BC 和 EGit 之间的直接集成可能无法直接通过 Eclipse 实现。
关于java - 如何使用 Git 使 Beyond Compare 在 Eclipse 中工作?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17507729/