use following command to see the current config:
$ git config --list
use following command to config the username and email:
$ git config user.name "YOURNAME" $ git config user.email "YOUREMAIL"
git config
原文:http://www.cnblogs.com/miaoz/p/4461919.html