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

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

怎么设置记住密码

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


[credential]
	helper = store

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

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

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

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

相关文章:

  • 2022-12-23
  • 2021-11-30
  • 2021-06-13
  • 2021-10-09
  • 2021-12-16
  • 2021-06-27
  • 2022-12-23
  • 2021-05-03
猜你喜欢
  • 2022-12-23
  • 2022-01-08
  • 2021-08-21
  • 2022-12-23
  • 2022-12-23
  • 2022-01-17
  • 2022-12-23
相关资源
相似解决方案