首页 > 其他 > 详细

更换git用户名或密码

时间:2018-07-19 17:09:24      阅读:316      评论:0      收藏:0      [点我收藏+]

Windows10下更换Git用户名或密码:https://jingyan.baidu.com/article/642c9d3435a6e9644a46f732.html

 

git清除用户名密码

git config --system --unset credential.helper

 

Git保存用户名和密码

Git保存用户名和密码

1、进入Git 配置文件。

~$ vim ~/.gitconfig   

2、修改配置文件,添加下面这一行。

[credential]  
    helper = store  
或者
git config --global credential.helper store

使用的时候,在输入一次用户名和密码之后,就不需要再提交用户名和密码。

更换git用户名或密码

原文:https://www.cnblogs.com/qq1069284034/p/9336633.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!