表題のようなエラーが発生した場合の対処方法です。
現象
$ git commit
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'XXX@XXX.(none)')
解決方法
あなたは誰ですかと聞かれているので、
$ git config --global user.email 自分のメールアドレス
$ git config --global user.name 自分の名前
上記のコマンドで登録してあげれば、
git commit出来るようになりました。