search

Home  >  Q&A  >  body text

Github clone is extremely slow. Is there any way to improve the speed?

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

As shown above, I also searched for some articles, but due to my limited level, I was not able to understand and solve this problem.

巴扎黑巴扎黑2771 days ago731

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