Home  >  Q&A  >  body text

github clone 速度极慢,有什么办法提高速度?

Receiving objects:   1% (280/17182), 308.01 KiB | 6.00 KiB/s

如上所示,自己也寻找了一些文章,但是囿于水平,没有能够理解并解决这个问题。

巴扎黑巴扎黑2727 days ago700

reply all(3)I'll reply

  • 世界只因有你

    世界只因有你2017-05-02 09:43:20

    1. git shallow clone

    By default, the complete historical version of the project will be downloaded. If you only care about the latest version of the code and not the previous historical information, you can use git's shallow copy function:

    git clone --depth 1

    2. GUI Tools + Agents

    Use GUI tool to configure proxy

    3. git + http.proxy

    $ git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
    $ git config --global https.proxy https://proxyuser:proxypwd@proxy.server.com:8080

    4. Other methods

    VPN

    reply
    0
  • PHP中文网

    PHP中文网2017-05-02 09:43:20

    The most effective way to circumvent the firewall is to buy a VPN account. Github and Google need it every day.

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-05-02 09:43:20

    It is recommended to use 91tianlu, the speed-up effect is obvious

    reply
    0
  • Cancelreply