Tôi đã thiết lập classpath của tôi cho p4merge một tập tin .gitconfig, nhưng tôi gặp lỗi này khi công cụ p4merge giả sử để mở hai tệp đó xung đột. ai biết giải pháp?lỗi với công cụ sáp nhập p4merge trong git
thêm vào classpath: "C: \ Program Files \ Perforce \ p4merge.exe" thêm vào .gitconfig file:
[merge]
tool = p4merge
[mergetool "p4merge"]
cmd = p4merge.exe \\\"$BASE\\\" \\\"$LOCAL\\\" \\\"$REMOTE\\\" \\\"$MERGED\\\"
ERROR MESSAGE:
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
Nếu đường dẫn đến exe chứa dấu cách thì nó phải ở trong dấu ngoặc kép. 'cmd = 'C:/Program Files/Perforce/p4merge.exe' $ BASE $ LOCAL $ REMOTE $ MERGED' – Alex78191