查看当前登录账号 git config user.name查看当前登录邮箱 git config user.email修改用户名和邮箱 git config --global user.name “your_name” git config --global user.email “your_email”