yy77
V2EX  ›  问与答

Github 怎样翻 q 使用?

  •  
  •   yy77 · Jan 27, 2015 · 4554 views
    This topic created in 4167 days ago, the information mentioned may be changed or developed.
    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 replies    2015-01-28 07:59:16 +08:00
    yuanji
        1
    yuanji  
       Jan 27, 2015
    proxychains4?
    cloudzhy
        3
    cloudzhy  
       Jan 27, 2015
    $ git config --list
    ......
    http.proxy=socks5://127.0.0.1:1080
    ......
    LazyZhu
        4
    LazyZhu  
       Jan 27, 2015
    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  
       Jan 28, 2015 via Android
    @LazyZhu golang的go get会自己利用git协议,还没发改,所以用connect转换算是更好的方案
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3091 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 00:22 · PVG 08:22 · LAX 17:22 · JFK 20:22
    ♥ Do have faith in what you're doing.