git在 clone 代碼的時候出現:fatal: unable to access 'https://github.com/spring-projects/spring-framework.git/': OpenSSL SSL_read: Connection was reset, errno 10054
解決方法:
只需要執行以下幾行命令:
git config --global --unset http.proxy
git config --global --unset https.proxy
git remote add origin git [github上面以http開頭的url]
如果出現:fatal: Not a git repository (or any of the parent directories): .git ,請先執行 git init,在執行 git remote add origin git [github上面以http開頭的url]
就可以了