当我使用git下载vcpkg时,它在“:”中显示不支持的代理语法。
我在powershell上使用以下命令:
git clone https://github.com/microsoft/vcpkg.git然后返回:
fatal:unable to access 'https://github.com/microsoft/vcpkg.git': Unsupported proxy syntax in '<host>:<port>'我的笔记本电脑不应该有任何代理设置,以及git。有人知道怎么解决这个问题吗?谢谢!
发布于 2020-01-16 04:32:12
您有环境变量HTTPS_PROXY='<host>:<port>'和HTTP_PROXY='<host>:<port>'。如果在当前端子中没有proxy取消设置它们:
unset HTTP_PROXY HTTPS_PROXY并从外壳配置文件中删除。在~/.profile、~/.bash_profile和~/.bashrc中搜索它们。
https://stackoverflow.com/questions/59758369
复制相似问题