【发布时间】:2017-06-21 17:32:08
【问题描述】:
在处理我的 repo 时偶尔会收到此错误
fatal: cannot create directory at '': No such file or directory
当我尝试使用 Beyond Compare 4 进行如下比较时
'git difftool master head --dir-diff'
这是我删除了个人信息的 .gitconfig 文件
[difftool "beyondcompare"]
cmd = c:\\program files\\beyond compare 4\\bcompare.exe
[core]
autocrlf = true
[difftool "bc4"]
cmd = C:/Program\\ Files/Beyond\\ Compare\\ 4/BCompare.exe \"$LOCAL\" \"$REMOTE\"
[diff]
tool = bc3
[difftool]
prompt = false
[user]
name = <REMOVED>
email = <REMOVED>
[credential "<REMOVED>"]
authority = <REMOVED>
[difftool "bc3"]
path = c:/Program Files/Beyond Compare 4/bcomp.exe
[diff]
tool = bc4
[difftool "bc4"]
cmd = \"c:/program files/beyond compare 4/bcomp.exe\" \"$LOCAL\" \"$REMOTE\"
[merge]
tool = bc4
[mergetool "bc4"]
cmd = \"c:/program files/beyond compare 4/bcomp.exe\" \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\"
trustExitCode = true
【问题讨论】:
标签: git beyondcompare