当我输入 git commit -m "My message" 时出现错误

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

这是我收到的错误。检查下图

运行 建议的命令。例如:

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

当然,请在后一个命令中替换您的实际电子邮件地址。