xihailong

查看用户名 git config user.name

查看密码: git config user.password

查看邮箱:git config user.email

查看配置信息: $ git config --list  

 

修改用户名
git config --global user.name "xxxx(新的用户名)"

修改密码
git config --global user.password "xxxx(新的密码)"

修改邮箱
git config --global user.email "xxxx@xxx.com(新的邮箱)"

 

修改报错:

 

   原因:用户名过多

 

   解决办法:$ git config --global --replace-all user.name "你的 git 的名称"

        $ git config --global --replace-all uesr.email "你的 git 的邮箱"

 

 

参考链接

https://blog.csdn.net/xyj_sunshine/article/details/104401979

https://blog.csdn.net/weixin_42288182/article/details/90480851

分类:

技术点:

相关文章:

  • 2021-12-08
  • 2022-12-23
  • 2021-09-24
  • 2021-08-25
  • 2022-01-27
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-08
  • 2022-12-23
  • 2021-09-29
  • 2021-04-15
  • 2021-11-23
相关资源
相似解决方案