yy77
V2EX  ›  问与答

Github 怎样翻 q 使用?

  •  
  •   yy77 · Jan 27, 2015 · 4905 views
    This topic created in 4298 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
    yuanji
    Jan 27, 2015
    1
    proxychains4?
    cloudzhy
    cloudzhy
    Jan 27, 2015
    3
    $ git config --list
    ......
    http.proxy=socks5://127.0.0.1:1080
    ......
    LazyZhu
    LazyZhu
    Jan 27, 2015
    4
    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
    bigtan
    Jan 28, 2015 via Android
    6
    @LazyZhu golang的go get会自己利用git协议,还没发改,所以用connect转换算是更好的方案
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4889 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 08:00 · PVG 16:00 · LAX 00:00 · JFK 03:00
    ♥ Do have faith in what you're doing.