CocoaAsyncSocket代理
1喻频、首先看自己的VPN代理socks端口昏兆,自己用的ClashX
ClashX
2、根據(jù)socks端口配置git代理
git config --global http.proxy socks5://127.0.0.1:端口
git config --global http.https://github.com.proxy socks5://127.0.0.1:端口
3、建議再配置以下兩個醉箕,不然后續(xù)安裝會報錯
git config --global http.version HTTP/1.1
git config --global http.postBuffer 524288000
4、可查看配置是否成功
????git config --global --list
5徙垫、安裝好了之后可以重置回去
git config --global --unset http.proxy
git config --global --unset http.https://github.com.proxy