首页 > Web开发 > 详细

Git配置https_proxy访问github失败

时间:2020-10-11 08:51:51      阅读:27      评论:0      收藏:0      [点我收藏+]

现象:

拉取github仓库报错如下:

Git Pull Failed: unable to access ‘https://github.com/*.git/‘: Proxy CONNECT aborted

解决措施:

git config --global http.proxy http://127.0.0.1:1234
git config --global https.proxy http://127.0.0.1:1234

设置时不要设置密码,https下密码认证不通过。

在git shell下使用 

GIT_CURL_VERBOSE=1 GIT_TRACE=1 git clone https://github.com/**.git

 

  可以看到具体日志

技术分享图片

 

Git配置https_proxy访问github失败

原文:https://www.cnblogs.com/alcc/p/13793611.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!