Windows git免密登录证书路径

证书默认路径:

C:\Program Files\Git\mingw64\etc\ssl\certs\ca-bundle.crt

修改证书默认路径配置文件:

C:\Program Files\Git\etc\gitconfig

命令设置新路径:

git config --system http.sslcainfo "D:\dev\Git\mingw64\ssl\certs\ca-bundle.crt"

关闭证书校验

git config --system http.sslverify false 

查看配置详细:

查看配置

git config --list
或
git config -l

查看系统config

git config --system --list

查看当前用户(global)配置

git config --global  --list




参考、来源:
https://www.cnblogs.com/echo-lovely/p/16300312.html
https://blog.csdn.net/m0_56190554/article/details/130242753
https://www.bmabk.com/index.php/post/92658.html



posted @ 2023-10-17 13:39  悟透  阅读(212)  评论(0编辑  收藏  举报