我试图更改Git的本地代码编辑器,但未成功。现在,每次我尝试还原提交时,都会收到以下错误:
hint: Waiting for your editor to close the file... notepad++.exe -wl1: notepad++.exe: command not found
error: There was a problem with the editor 'notepad++.exe -wl1'.
Please supply the message using either -m or -F option.
我想知道如何重置或删除我所尝试的修改。
git revert
命令),还是关于更新配置设置?如果是后者,请参见https://stackoverflow.com/q/6459506/1256452。 - torek