我正在寻找一种方法,在全局范围内禁用 Git SSL 验证,但仅适用于单个远程。
我所知道的唯一方法是这两种可能性:
git config --global http.sslVerify falsegit config --local http.sslVerify false但是有没有机会像使用代理设置一样设置配置?例如:
我的~/.gitconfig. 但我没有使用本地代理设置覆盖它,而是使用了:
git config --global remote.<remote name>.proxy "" (在这种情况下为直接连接)
不幸的是,以下内容不起作用:
git config --global remote.<remote name>.http.sslVerify false
有任何想法吗?感谢致敬!