2

OS X Maverics と Xcode 5.0.1 をインストールしただけですが、使用しようとするgit mergetoolと次のopendiffエラーが発生します。

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/Contents/Developer/です

何か案が?

4

1 に答える 1

4

これは私の状況でした:

git config -l

(省略出力)

merge.tool=opendiff
mergetool.opendiff.cmd=/usr/bin/opendiff $2 $5 -merge $1

修正方法:

git config --global --unset mergetool.opendiff.cmd
于 2013-12-03T05:33:23.233 に答える