COMMIT_EDITMSG is a file which VSCode opens when you do not provide commit message in the Source Control plugin box –
![Commit message box in VSCode](https://i0.wp.com/authors.akashmittal.com/wp-content/uploads/2022/08/image-17.png?resize=820%2C730&ssl=1)
The COMMIT_EDITMSG file looks like this –
![COMMIT_EDITMSG file in vscode](https://i0.wp.com/authors.akashmittal.com/wp-content/uploads/2022/08/image-18.png?resize=820%2C435&ssl=1)
Here you can write your commit message at the top.
If you don’t want this file to open up, you can turn the setting off in VSCode from here –
![Use editor as commit input in vscode](https://i0.wp.com/authors.akashmittal.com/wp-content/uploads/2022/08/image-19.png?resize=820%2C353&ssl=1)
Uncheck Use Editor As Commit Input
setting and the file will not open anymore. You can find this – Settings -> Extensions -> Git
You can also use command line git.useEditorAsCommitInput
to turn it off.