首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在小牛和Xcode 5.0.1之后使用带有opendiff的git合并工具的错误

在小牛和Xcode 5.0.1之后使用带有opendiff的git合并工具的错误
EN

Stack Overflow用户
提问于 2013-11-01 13:58:33
回答 1查看 870关注 0票数 2

我只是安装了OS和Xcode 5.0.1,但是现在当我试图将git mergetoolopendiff一起使用时,我得到了以下错误:

代码语言:javascript
复制
Normal merge conflict for 'Assets/Scripts/Characters/MobAI.cs':
{local}: modified file
{remote}: modified file
Hit return to start merge resolution tool (opendiff): 
2013-11-01 11:51:11.980 opendiff[1706:1007] too few arguments
2013-11-01 11:51:11.985 opendiff[1706:1007] usage: opendiff file1 file2 [-ancestor ancestorFile] [-merge mergeFile]

xcode-select路径是/Applications/xcode.app/Content/Developer/

有什么想法吗?

EN

回答 1

Stack Overflow用户

发布于 2013-12-03 05:33:23

这就是我的处境:

代码语言:javascript
复制
git config -l

(简略产出)

代码语言:javascript
复制
merge.tool=opendiff
mergetool.opendiff.cmd=/usr/bin/opendiff $2 $5 -merge $1

我是如何修正的:

代码语言:javascript
复制
git config --global --unset mergetool.opendiff.cmd
票数 4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/19728223

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档