[Git]拉取代码失败,提示无法访问 Received HTTP code 501 from proxy after CONNECT
freddon
发表于2018-12-16
阅读 1998 |
评论 0
Received HTTP code 501 from proxy after CONNECT
根据结果得知,可能是代理出了问题。
查看git设置的代理
```
git config --global http.proxy
git config --global https.proxy
```
如果代理不通,可以先删除
```
git config --global --unset http.proxy
git config --global --unset https.proxy
```
重新设置代理
```
git config --global http.proxy 'http://127.0.0.1:1091'
git config --global https.proxy 'http://127.0.0.1:1091'
```
分类 :日常记录