gpt4 book ai didi

java - 如何使用 Git 使 Beyond Compare 在 Eclipse 中工作?

转载 作者:塔克拉玛干 更新时间:2023-11-02 19:28:49 24 4
gpt4 key购买 nike

在 Eclipse 中使用时,清楚地解释了如何使 BC 成为 Subversion 和 Git 的默认差异和合并工具。但是后者呢?我不断收到以下对话框:

enter image description here

更新:添加到我的全局 .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 配置现在看起来像: enter image description here

最佳答案

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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com