Aishwarya Mohan Aishwarya Mohan - 2 months ago 8
Git Question

I get an error when I type git commit -m "My message"

This is the error I receive. Check the below image
enter image description here

Answer

Run the suggested commands. For example:

git config --global user.name "Aishwarya Mohan"
git config --global user.email mohan@domain.com.invalid

Of course, substitute your actual email address on the latter command.