gpt4 book ai didi

带有编辑器的 Git Commit Error 终端

转载 作者:太空狗 更新时间:2023-10-29 13:27:55 25 4
gpt4 key购买 nike

我在使用命令 git commit 时遇到了一些问题。我做了一个 git commit 但不幸的是我按下了 Ctrl+Z 而不是 Ctrl+X 来关闭,所以现在当我 git commit 再次,它给了我这个错误:

error: editor died of signal 11
error: There was a problem with the editor 'editor'. `Please, specific the message using option -m or -F. `

其实我不知道如何解决这个错误。我运行的操作系统是 Ubuntu 15.10。

最佳答案

  1. 进入.git/文件夹
  2. 删除文件.COMMIT_EDITMSG.swp

关于带有编辑器的 Git Commit Error 终端,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36012976/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com