查看用户名和邮箱地址:

$ git config user.name
$ git config user.email

修改用户名和邮箱地址

$  git config --global user.name  "xxxx"

$  git config --global user.email  "xxxx"