Github 怎样翻 q 使用?

2015-01-27 22:43:19 +08:00
 yy77
github非常缓慢,ping一下发现大量丢包。除了全局之外,有没有方法指定git来翻q使用?

PING github.com (192.30.252.130): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
64 bytes from 192.30.252.130: icmp_seq=3 ttl=49 time=359.107 ms
Request timeout for icmp_seq 4
Request timeout for icmp_seq 5
3477 次点击
所在节点    问与答
6 条回复
jyjmrlk
2015-01-27 22:53:43 +08:00
proxychains4?
zhangshine
2015-01-27 22:54:51 +08:00
cloudzhy
2015-01-27 22:56:58 +08:00
$ git config --list
......
http.proxy=socks5://127.0.0.1:1080
......
LazyZhu
2015-01-27 23:01:38 +08:00
git config --global http.proxy 'http://127.0.0.1:8090'
git config --global https.proxy 'https://127.0.0.1:8090'
or
git config --global http.proxy 'socks5://127.0.0.1:8080'
git config --global https.proxy 'socks5://127.0.0.1:8080'

And use http instead of git link.
fghzpqm
2015-01-28 01:19:06 +08:00
bigtan
2015-01-28 07:59:16 +08:00
@LazyZhu golang的go get会自己利用git协议,还没发改,所以用connect转换算是更好的方案

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/166003

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX