How can I cancel a git commit while VS Code is waiting for the commit message in an editor tab?
08:13 03 Jan 2023

I'm testing the Visual Studio Code'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

It is like a loading or waiting motion. It's waiting for me to enter the commit message.

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

git visual-studio-code