这样应该已经设置好了代理吧,为什么我在当前目录 git clone 的时候还是 10K/S 呢,
[有什么办法不用局部设置代理, global 中设置 github 走代理,其他直连的?]
这样应该已经设置好了代理吧,为什么我在当前目录 git clone 的时候还是 10K/S 呢,
[有什么办法不用局部设置代理, global 中设置 github 走代理,其他直连的?]
|
bigtanDec 20, 2015
1
你 clone 的时候是走的 https 协议吗?也许是 git 协议
|
|
Daniel65536Dec 20, 2015 via iPad
3
https 代理的意思是用来给 https 开头的连接用的代理,不是说代理地址的开头是 https ,所以你 127 前面那个 https 应当换成 http 。
然后 1080 看起来是 ss 提供的代理? ss 提供的代理是 socks5 的,你要装个 polipo 转换成 http 代理。 |
|
4
@Daniel65536 呃呃,那个 127 前面的 https 的确是手滑了没注意,需要装个 polipo 才行?
|
|
hardwareDec 20, 2015
5
proxychains-ng 解决
|
|
ryd994Dec 21, 2015 via Android
6
@Daniel65536 socks5://127.0.0.1:1080 不行么?
|
|
StrikeactorDec 21, 2015
7
tsocks
|
|
8
@Daniel65536
@Strikeactor @ryd994 @bigtan @hardware git config --local http.proxy 'socks5://127.0.0.1:1080' git config --local https.proxy 'socks5://127.0.0.1:1080' 已经成功了,查了下 Git 原生支持 socks5 协议的.....= = |