Git—拉取堆栈失败
https://img-blog.csdnimg.cn/img_convert/91f0555efdc2ef708ae7d48994d9117d.webp?x-oss-process=image/format,png使用Git拉取堆栈代码时,遇到了报错如下:
Git: fatal: unable to access ‘https://github.com/xxx/’: Failure when receiving data from the peer
解决办法
由于git在拉取或者提交项目时,中心会有git的http和https署理,但是我们当地环境自己就有SSL协议了,以是取消git的https署理即可,不可再取消http的署理。
//取消http代理
git config --global --unset http.proxy
//取消https代理
git config --global --unset https.proxy
或者切换署理即可
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页:
[1]