Git 密码变更 存储密码

1.查看配置

在运行窗口下输入:

//查看用户名
git config user.name
//查看邮箱
git config user.email

 

 2.修改配置

git config --global user.name "abc(新的用户名)"
git config --global user.email "abc@qq.com(新的邮箱)"
git config --global user.password"123456(新的密码)"

3.弄掉密码

git config --system --unset credential.helper

4.重新存储密码

git config --global credential.helper store

 

posted @ 2021-06-17 08:51  创客未来  阅读(113)  评论(0编辑  收藏  举报