查看命令:

查看用户名:

git config user.name

查看用户邮箱:

git config user.email

修改命令:

修改用户名:

git config --global user.name "Your_username"

修改用户邮箱:

git config --global user.email "Your_email"

注:user.name或者user.email后需有一个空格,再写你的用户名或者用户邮箱

 

相关文章:

  • 2022-12-23
  • 2021-04-17
  • 2022-12-23
  • 2021-11-20
  • 2022-12-23
  • 2022-02-03
  • 2021-12-05
猜你喜欢
  • 2021-12-09
  • 2021-12-25
  • 2022-03-03
  • 2021-12-24
  • 2022-02-03
  • 2021-12-28
  • 2022-12-23
相关资源
相似解决方案