Heim  >  Fragen und Antworten  >  Hauptteil

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

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

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

巴扎黑巴扎黑2727 Tage vor705

Antworte allen(3)Ich werde antworten

  • 世界只因有你

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

    1. git shallow clone

    默认会下载项目的完整历史版本,如果你只关心最新版的代码,而不关心之前的历史信息,可以使用 git 的浅复制功能:

    git clone --depth 1

    2. GUI 工具 + 代理

    使用 GUI 工具,配置使用代理

    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. 其他办法

    VPN

    Antwort
    0
  • PHP中文网

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

    翻墙最有效呵呵,买个VPN账户吧,github和google天天需要啊。

    Antwort
    0
  • 淡淡烟草味

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

    推荐用91tianlu,提速效果明显

    Antwort
    0
  • StornierenAntwort