How can I fix git commit error “Waiting for your editor to close the file…” with VS Code?

后端 未结 10 1823
执念已碎
执念已碎 2020-12-13 06:32

I\'m trying just git commit and Git is giving this message:

hint: Waiting for your editor to close the file... /c/Users/AGT/AppData/Loc

10条回答
  •  佛祖请我去吃肉
    2020-12-13 07:05

    Any file may be opened in any editor. So run "ps -ax|grep vim" to check which file is opened in which editor. And then run kill id-of-editor . For e.g. "kill 12345" Thats all

提交回复
热议问题