我电脑里以前有GitExtension文件的,后来我卸载了用来TortoiseGit。今天用git base进行commit时,却提示错误:
hint: Waiting for your editor to close the file... "D:/软件工具/GitExtension/GitExtensions.exe" fileeditor: D:/软件工具/GitExtension/GitExtensions.exe: No such file or directory
error: There was a problem with the editor '"D:/软件工具/GitExtension/GitExtensions.exe" fileeditor'.
Please supply the message using either -m or -F option.
我不知道为啥会这样?
用 git config --global core.editor 'vim'
命令将 git commit 的默认编辑器改为 vim
我把.gitconfig文件改了下