V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
yy77
V2EX  ›  问与答

Github 怎样翻 q 使用?

  •  
  •   yy77 · 2015-01-27 22:43:19 +08:00 · 3443 次点击
    这是一个创建于 3348 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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
    6 条回复    2015-01-28 07:59:16 +08:00
    jyjmrlk
        1
    jyjmrlk  
       2015-01-27 22:53:43 +08:00
    proxychains4?
    zhangshine
        2
    zhangshine  
       2015-01-27 22:54:51 +08:00
    cloudzhy
        3
    cloudzhy  
       2015-01-27 22:56:58 +08:00
    $ git config --list
    ......
    http.proxy=socks5://127.0.0.1:1080
    ......
    LazyZhu
        4
    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.
    bigtan
        6
    bigtan  
       2015-01-28 07:59:16 +08:00 via Android
    @LazyZhu golang的go get会自己利用git协议,还没发改,所以用connect转换算是更好的方案
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2733 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 12:43 · PVG 20:43 · LAX 05:43 · JFK 08:43
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.