If you are getting the following message while commiting your commits in VSCode:
Make sure you configure your user.name and user.email in git
You can run these in Terminal
git config --global user.email "you@example.com"git config --global user.name "Your Name"
After running the above commands restart the VSCode and you will not face the above issue after that.