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

即可解決本問題


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM