Gitx有很大的差异阅读器,我怎么做git的自动管git的差异无论到gitx?
我试图将git config diff.external设置为一个如下所示的shell脚本:
git diff "$2" "$5" | gitx
Run Code Online (Sandbox Code Playgroud)
但是,这只会将所有单个文件打开到多个gitx窗口中,并且它实际上会混淆文件名(将它们全部更改为具有疯狂名称的tmp文件).
有没有人有更好的解决方案?
当我尝试将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
$
Run Code Online (Sandbox Code Playgroud)
我已经为Xcode安装了XCode 4.6.3和命令行工具2013年4月.我正在运行OSX 10.7.5
我尝试过以下两个链接的解决方案但没有成功:
与opendiff的git diff给出"无法启动FileMerge"错误
当我去的时候,Xcode -> Open Developer Tool我没有FileMerge在选项列表中看到.这里有一个More Developer Tools链接:https://developer.apple.com/downloads/index.action?name = for%20Xcode%20-
我如何让FileMerge工作?