解决方案

1
git config --global user.email "you@example.com"

来源:http://stackoverflow.com/questions/14662526/why-git-is-not-allowing-me-to-commit-even-after-configuration