首页 > 技术文章 > git https解决免ssL和保存密码

boshen-hzb 2019-05-15 23:11 原文

1、打开windows的git bash

set GIT_SSL_NO_VERIFY=true git clone
git config --global http.sslVerify false 

2、保存密码

永久保存

git config --global credential.helper store

设置记住密码(默认15分钟)

如果想自己设置缓存时间,可以这样做:

git config credential.helper ‘cache –timeout=3600

 

推荐阅读