轉自大佬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
即可解決本問題