OS X升級El Capitan後,git difftool沒法打開diffmerge的解決方法

在git項目下執行git difftool,出現以下報錯git

/Library/Developer/CommandLineTools/usr/libexec/git-core/mergetools/diffmerge: line 121: diffmerge: command not found

解決方法app

ln -s /Applications/DiffMerge.app/Contents/Resources/diffmerge.sh /usr/local/bin/diffmerge
相關文章
相關標籤/搜索