Cloning `https://github.com/CocoaPods/pod-template.git` into `SQOCSWIFT`.
[!] /usr/bin/git clone https://github.com/CocoaPods/pod-template.git SQOCSWIFT
Cloning into 'SQOCSWIFT'...
fatal: unable to access 'https://github.com/CocoaPods/pod-template.git/': Failed to connect to 127.0.0.1 port 1080: Connection refused
查看git
配置 git config -l
http.lowspeedlimit=0
http.lowspeedtime=999999
https.postbuffer=542428800
http.https://github.com.proxy=socks5://127.0.0.1:1080
1080
端口改为 自己科学上网配置的端口即可
git config --global http.https://github.com.proxy socks5://127.0.0.1:7890