git clone出现 fatal: unable to access 'https://github.com/...'的解决办法(亲测有效)
转自大佬git clone出现 fatal: unable to access 'https://github.com/...'的解决办法(亲测有效)_qq_33349365的博客-CSDN博客
错误:
$ git clone https://github.com/theme-next/hexo-theme-next themes/next
Cloning into 'themes/next'...
fatal: unable to access 'https://github.com/theme-next/hexo-theme-next/': OpenSSL SSL_read: Connection was reset, errno 10054
将https改为ssh时任然报错
按照本方法进行处理
依次输入命令
$ git config --global http.proxy http://127.0.0.1:1080
$ git config --global https.proxy http://127.0.0.1:1080
$ git config --global --unset http.proxy
$ git config --global --unset https.proxy
即可解决本问题