我有64位的notepad ++,昨天我尝试进行合并,并收到消息:
utente@utente-01 MINGW64 /c/git_workspace/progetto (ETICHETTA)
$ git pull origin master
From https://server/project/_git/repositorium
* branch master -> FETCH_HEAD
hint: Waiting for your editor to close the file... 'C:\Program Files (x86)\Notepad++\notepad++.exe' -multiInst -notabbar -nosession -noPlugin: C:\Program Files (x86)\Notepad++\notepad++.exe: No such file or directory
error: There was a problem with the editor ''C:\Program Files (x86)\Notepad++\notepad++.exe' -multiInst -notabbar -nosession -noPlugin'.
Not committing merge; use 'git commit' to complete the merge.
我无法完成合并。如何解决这个问题?
答案 0 :(得分:1)
如果遇到相同的问题,则需要将记事本++(或其他编辑器)的路径更新为正确的路径。一旦有了正确的notepad ++。exe路径,您可以进行以下操作:
utente@utente-01 MINGW64 /c/git_workspace/progetto (ETICHETTA|MERGING)
$ git config core.editor "'C:\Program Files\Notepad++\notepad++.exe' -multiInst -notabbar -nosession -noPlugin"
那应该可以解决问题。