git小乌龟一次性设置密码

在[系统盘]:\Users[你的用户名]下面,有一个.gitconfig目录,这个是记录git配置信息的。
在该文件后面加上

[user]
name = XXX
email = [email protected]

// 新加
[credential]
helper = store

然后pull或push一次。

就会在[系统盘]:\Users[你的用户名]目录下面生成

.git-credentials文件,该文件明文记录了你输入的账号密码

参考:https://blog.csdn.net/fighting_tl/article/details/76009639

猜你喜欢

转载自www.cnblogs.com/boreguo/p/10693931.html