1.设置用户名

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

2.设置用户邮箱
$ git config --global user.email myemail@qq.com

3.查看git设置列表信息
$ git config --list

4.查看用户名
$ git config user.name
git配置文件config用户名和邮箱的设置和查看

 

相关文章:

  • 2022-02-08
  • 2021-05-30
  • 2022-12-23
  • 2022-02-08
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2021-09-01
猜你喜欢
  • 2022-12-23
  • 2021-05-17
  • 2021-12-28
  • 2021-07-29
  • 2021-08-19
  • 2022-12-23
相关资源
相似解决方案