更换git用户名或密码

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

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

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