How to cancel the commit while the Source Control VSCode is waiting for the commit message?

I’m testing the VSCode’s Source Control, and I recklessly hit the commit button; now it’s waiting for me to enter the commit message:
enter image description here

Is there a way to cancel and terminate the whole commit process in this situation?

>Solution :

Just close the COMMIT_EDITMSG tab, should cancel the commit 😉

Leave a Reply