git小乌龟的密码账号配置

在使用小乌龟的过程中,发下每次push或者pull都要重复输入账号密码,非常麻烦。

如果能记住账号密码就好了,这样就省去了时间。

怎么设置记住密码

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

[credential]
    helper = store

  

保存后。试一下pull或者push,就会在[系统盘]:Users[你的用户名]目录下面生成

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

http://username:password@git.llpp.com  

  

转发请注明出处哦(http://www.cnblogs.com/stonehat/ 科普技术)

原文地址:https://www.cnblogs.com/saygoodnight/p/7458581.html