git 无法下载 vcpkg
Can not download vcpkg by git
当我使用git下载vcpkg时,它说Unsupported proxy syntax in':'
我在 powershell 上使用以下命令:
git clone https://github.com/microsoft/vcpkg.git
它 returns:
fatal:unable to access 'https://github.com/microsoft/vcpkg.git': Unsupported proxy syntax in '<host>:<port>'
我的笔记本电脑应该没有任何代理设置,git也是如此。
有谁知道如何解决这一问题?谢谢!
您有环境变量 HTTPS_PROXY='<host>:<port>'
和 HTTP_PROXY='<host>:<port>'
。如果您没有代理,请在当前终端中取消设置:
unset HTTP_PROXY HTTPS_PROXY
并从 shell 配置文件中删除。在 ~/.profile
、~/.bash_profile
和 ~/.bashrc
中搜索它们。
当我使用git下载vcpkg时,它说Unsupported proxy syntax in':'
我在 powershell 上使用以下命令:
git clone https://github.com/microsoft/vcpkg.git
它 returns:
fatal:unable to access 'https://github.com/microsoft/vcpkg.git': Unsupported proxy syntax in '<host>:<port>'
我的笔记本电脑应该没有任何代理设置,git也是如此。 有谁知道如何解决这一问题?谢谢!
您有环境变量 HTTPS_PROXY='<host>:<port>'
和 HTTP_PROXY='<host>:<port>'
。如果您没有代理,请在当前终端中取消设置:
unset HTTP_PROXY HTTPS_PROXY
并从 shell 配置文件中删除。在 ~/.profile
、~/.bash_profile
和 ~/.bashrc
中搜索它们。