使用yarn安裝東西時候出現的錯誤:
fatal: unable to access 'https://github.com/nhn/raphael.git/': Unknown SSL protocol error in connection to github.com:443
最終給Git安裝代理搞定:
# 設置當前代理 git config http.proxy http://127.0.0.1:2334 # 取消當前代理 git config --unset http.proxy #取消全局代理 git config --global --unset http.proxy #設置socks5代理 git config http.proxy socks5://127.0.0.1:10809
參考: