git clone报错 unable to access

git clone reported an error saying that the warehouse could not be accessed.

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

It is recommended to set up a proxy

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

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

git config --global http.sslVerify false

Guess you like

Origin blog.csdn.net/duoyasong5907/article/details/128936976