当我尝试将 FileMerge 作为 Opendiff 的 GUI 运行时,我收到一个错误:
$ git mergetool -t opendiff
Merging:
Gemfile
Gemfile.lock
...
Normal merge conflict for 'Gemfile':
{local}: modified file
{remote}: modified file
Hit return to start merge resolution tool (opendiff):
2013-12-26 20:00:20.248 opendiff[22367:e07] Couldn't find FileMerge
Gemfile seems unchanged.
Was the merge successful? [y/n] ^C
$
我已经在 2013 年 4 月安装了 XCode 4.6.3 和 Xcode 命令行工具。我正在运行 OSX 10.7.5
我尝试了以下两个链接的解决方案,但没有成功:
带有 opendiff 的 git diff 给出“无法启动 FileMerge”错误
安装 Xcode 4.3 后 filemerge 是否仍然可用?
当我去时,Xcode -> Open Developer Tool
我没有FileMerge
在选项列表中看到。有一个More Developer Tools
链接可以带我到这里:https ://developer.apple.com/downloads/index.action?name=for%20Xcode%20-
如何让 FileMerge 正常工作?