我已经为 p4merge 设置了我的类路径并设置了文件 .gitconfig,但是当 p4merge 工具假设对这两个冲突的文件进行操作时,我得到了这个错误。有人知道解决方案吗?
添加到类路径:“C:\Program Files\Perforce\p4merge.exe”添加到 .gitconfig 文件:
[merge]
tool = p4merge
[mergetool "p4merge"]
cmd = p4merge.exe \\\"$BASE\\\" \\\"$LOCAL\\\" \\\"$REMOTE\\\" \\\"$MERGED\\\"
错误信息:
Normal merge conflict for 'protected/views/layouts/main.php':
{local}: modified file
{remote}: modified file
Hit return to start merge resolution tool (p4merge):
C:\Program Files (x86)\Git/libexec/git-core/mergetools/p4merge: line 8: p4merge:
command not found
protected/views/layouts/main.php seems unchanged.
Was the merge successful? [y/n] n
merge of protected/views/layouts/main.php failed