git clone报错 unable to access

git clone 报错,说无法访问仓库。

D:\codes>git clone https://github.com/xx.git
Cloning into 'xx'...
fatal: unable to access 'https://github.com/xx.git/': Failed to connect to github.com port 443 after 21027 ms: Couldn't connect to server

建议设置代理

export http_proxy=”http://XXX:[email protected]:8080”

export https_proxy=”http://XXX:[email protected]:8080”

git config --global http.sslVerify false

猜你喜欢

转载自blog.csdn.net/duoyasong5907/article/details/128936976