Aishwarya Mohan Aishwarya Mohan - 1 year ago 54
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 Source

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.