最近在使用git拉取代码和提交代码时报错:
schannel: next InitializeSecurityContext failed: Unknown error
查阅资料,导致的原因可能是使用代理导致了git的连接模式改变了。
解决方式:
打开cmd窗口,执行下面命令把URL 模式从HTTPS改为SSH即可:
git config --system http.sslbackend openssl
最近在使用git拉取代码和提交代码时报错:
schannel: next InitializeSecurityContext failed: Unknown error
查阅资料,导致的原因可能是使用代理导致了git的连接模式改变了。
解决方式:
打开cmd窗口,执行下面命令把URL 模式从HTTPS改为SSH即可:
git config --system http.sslbackend openssl