首页 新闻 会员 周边

git提交文件出现错误

0
[待解决问题]

我电脑里以前有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
灬丶的主页 灬丶 | 初学一级 | 园豆:2
提问于:2019-05-16 10:38
< >
分享
所有回答(1)
0

git config --global core.editor 'vim' 命令将 git commit 的默认编辑器改为 vim

dudu | 园豆:30994 (高人七级) | 2019-05-16 10:59

我把.gitconfig文件改了下

支持(0) 反对(0) 灬丶 | 园豆:2 (初学一级) | 2019-05-16 11:09
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册