git查看和修改账号邮箱

  1. 查看当前登录账号:
git config user.name
  1. 查看当前登录邮箱:
git config user.email
  1. 修改用户名和邮箱:
git config --global user.name "Your_username"
git config --global user.email "Your_email"

猜你喜欢

转载自blog.csdn.net/qq_34626094/article/details/123706941