查看git的用户名和密码

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-2 15:07   135   0

查看用户名 :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 的邮箱"

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP