首页 > Windows开发 > 详细

Windows下Git免密码

时间:2018-05-18 12:25:36      阅读:372      评论:0      收藏:0      [点我收藏+]

  Windows下Git在使用http方式的时候clone,pull,push需要输入用户名及密码,通过以下设置可以免密码

  在用户文件夹创建文件.git-credentials内容如下

https://{用户名}:{密码}@github.com

  在git bash终端执行命令

git config --global credential.helper store

  在用户文件夹下面的文件.gitconfig会生成以下内容

技术分享图片

 

Windows下Git免密码

原文:https://www.cnblogs.com/minseo/p/9055363.html

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