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

后端 未结 10 1809
执念已碎
执念已碎 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 06:54

    I got that error while i configured with Atom.

    I got it solved by opening the app in background before executing the command git commit

    You can also try using $ git commit -m "Initial commit" It directly passes the message without waiting for the editor to open NOTE: You wont be able to add description just a comment

提交回复
热议问题