1.git config命令查看用户名,邮箱
git config user.name
git config user.email
2.git config命令 修改自己的用户名和邮箱
//仅对当前仓库有效
git config --local user.email "你的名字"
git config --local user.email "你的邮箱"
//对当前用户的所有仓库有效
git config --global user.email "你的名字"
git config --global user.email "你的邮箱"