【发布时间】:2019-05-17 08:59:51
【问题描述】:
我尝试更改 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 中的一个非常具体的事情,使用
git revert命令),还是关于更新您的配置设置? 如果是后者,请参阅stackoverflow.com/q/6459506/1256452
标签: git text-editor git-revert