我安装了巧克力,并期待着使用它作为一个重基工具,因为我得到的重基工具与vs代码是不正常的。它没有正常工作。当我尝试使用git rebase -i HEAD~2
时,我会得到这个错误。
hint: Waiting for your editor to close the file... 'C:/path/to/interactive-rebase-tool.exe': C:/path/to/interactive-rebase-tool.exe: No such file or directory
error: There was a problem with the editor ''C:/path/to/interactive-rebase-tool.exe''.
发布于 2022-03-29 20:13:49
问题似乎在于你的编辑器或它的路径。
在Git中检查编辑器的配置路径。它真的存在吗。
例如,如果您使用的是notepad++,下面是命令
git config core.editor "'C:\Program Files\Notepad++\notepad++.exe' -multiInst -notabbar -nosession -noPlugin"
https://stackoverflow.com/questions/71667362
复制相似问题