CodeDrift
V2EX  ›  问与答

Github 能访问 但是 clone 好慢啊。。只有 5K-10K.求解决方法

  •  
  •   CodeDrift · Jan 14, 2015 · 21627 views
    This topic created in 4313 days ago, the information mentioned may be changed or developed.

    。。。教育网。没IPV6

    32 replies  •  2017-05-17 13:18:41 +08:00
    582033
    582033
    Jan 14, 2015
    1
    proxychains
    Lentin
    Lentin
    Jan 14, 2015
    2
    走代理,楼上的头像跟楼主有一腿
    yangyanggnu
    yangyanggnu
    Jan 14, 2015❤️2
    3
    有几种方式:
    0)github.com 上有两种源码获取方式,一是 git clone,一是直接下载 master.zip,后者明显速度快于前者,至少我这儿是这样。如果你没洁癖,可以考虑;
    1)用 proxychains 这类透明代理,间接走系统中运行的代理工具中转;
    2)用 git 内置代理,直接走系统中运行的代理工具中转,比如,你的 SS 本地端口是 1080,那么可以如下方式走代理
    ```
    git config --global http.proxy socks5://127.0.0.1:1080
    git config --global https.proxy socks5://127.0.0.1:1080
    ```
    也可以如下方式停走代理
    ```
    git config --global http.proxy ""
    git config --global https.proxy ""
    ```
    yangyanggnu
    yangyanggnu
    Jan 14, 2015
    4
    昏,不能用 markdown 语法引用代码啊 (ง •̀_•́)ง
    CodeDrift
    CodeDrift
    OP
    Jan 14, 2015
    5
    @yangyanggnu 下载master.zip包也只有10多k。。。没办法。只好离线百度网盘 然后在下载了。。谢谢了。。我设置代理了 。同样不行 学校奇葩 SS全部用不了
    vjnjc
    vjnjc
    Jan 14, 2015
    6
    尝试换git协议?
    git clone https://XXXXX -> git clone git://XXXXX
    CodeDrift
    CodeDrift
    OP
    Jan 14, 2015
    7
    @Lentin 哈哈 有一腿
    @582033 约么
    mahone3297
    mahone3297
    Jan 14, 2015
    8
    @Anybfans 百度网盘?什么意思?怎么样?百度离线能git clone?
    CodeDrift
    CodeDrift
    OP
    Jan 14, 2015
    9
    @vjnjc XXXX要写项目网址么?
    leisudeng
    leisudeng
    Jan 14, 2015❤️1
    10
    http://www.v2ex.com/t/162049
    你可以试试这个
    CodeDrift
    CodeDrift
    OP
    Jan 14, 2015
    11
    @mahone3297 我下载.zip包速度也不行的。。只好把zip包离线一下。。然后下载。。
    CodeDrift
    CodeDrift
    OP
    Jan 14, 2015
    12
    @leisudeng 好 。我试试看 效果如何。。感谢咯
    mahone3297
    mahone3297
    Jan 14, 2015
    13
    @Anybfans 10多k,速度再不行,等一会,也下下来了吧。。。
    mahone3297
    mahone3297
    Jan 14, 2015
    14
    @Anybfans 你是说,下载只有10k是吧?我理解错了。。。sorry
    要么找人帮忙,帮你clone,然后传给你,后期你再git fetch,可能会好点
    TL
    TL
    Jan 14, 2015 via iPhone
    15
    git clone https ----> git clone http
    会快些
    或者直接走代理
    sangev5
    sangev5
    Jan 14, 2015
    16
    尝试使用多种 clone 方式进行 clone ,看看那种速度块,就用哪种
    + git clone git://
    + git clone https://
    + git clone http://
    + git 主页下载 zip
    zzutmebwd
    zzutmebwd
    Jan 14, 2015 via Android
    17
    @Anybfans ss全部用不了?为什么?ss只是指定端口的TCP包啊 学校封端口么?
    CodeDrift
    CodeDrift
    OP
    Jan 14, 2015
    18
    @mahone3297 .请教个问题吧。。下载好的zip包。怎么同步呀。克隆不下来。只好下载.zip包了。。添加到github里面是新建库。。新手不太懂谢谢了
    CodeDrift
    CodeDrift
    OP
    Jan 14, 2015
    19
    @zzutmebwd 今天别人发给我一个稳定100ping的SS,可是完全不能用,Goagent倒是可以用。前段时间SS稳定的飞起。现在不行了
    CodeDrift
    CodeDrift
    OP
    Jan 14, 2015
    20
    @leisudeng 用过了。。速度还是一样。。速度还是10k/s不到
    # Section Start: github
    192.30.252.131 github.com
    192.30.252.129 github.com
    192.30.252.128 github.com
    185.31.17.133 raw.github.com
    185.31.18.133 raw.github.com
    103.245.222.133 raw.github.com
    204.13.250.16 raw.github.com
    208.78.70.4 raw.github.com
    192.30.252.143 gist.github.com
    192.30.252.141 gist.github.com
    192.30.252.142 gist.github.com
    185.31.17.133 developer.github.com
    185.31.18.133 developer.github.com
    103.245.222.133 developer.github.com
    204.13.250.16 developer.github.com
    208.78.70.4 developer.github.com
    192.30.252.139 api.github.com
    204.13.250.16 api.github.com
    204.13.251.16 api.github.com
    185.31.18.184 github.global.ssl.fastly.net
    103.245.222.185 github.global.ssl.fastly.net
    185.31.17.184 github.global.ssl.fastly.net
    185.31.17.133 documentcloud.github.com
    185.31.18.133 documentcloud.github.com
    103.245.222.133 documentcloud.github.com
    204.13.250.16 documentcloud.github.com
    208.78.70.4 documentcloud.github.com
    185.31.17.133 help.github.com
    185.31.18.133 help.github.com
    103.245.222.133 help.github.com
    199.27.79.133 help.github.com
    204.13.250.16 help.github.com
    192.30.252.145 nodeload.github.com
    192.30.252.147 nodeload.github.com
    204.13.250.16 nodeload.github.com
    54.147.173.45 status.github.com
    23.20.32.221 status.github.com
    54.161.104.27 status.github.com
    23.235.47.133 training.github.com
    185.31.17.133 training.github.com
    103.245.222.133 training.github.com
    204.13.250.16 training.github.com
    208.78.70.4 training.github.com
    # Section End: github
    kqz901002
    kqz901002
    Jan 14, 2015
    21
    换移动
    dofine
    dofine
    Jan 14, 2015
    22
    @Anybfans 我这也是,10多k,还好想 clone 的 repo 都不大。。
    hasse
    hasse
    Jan 14, 2015
    23
    gae还是很快的
    zzutmebwd
    zzutmebwd
    Jan 14, 2015 via Android
    24
    @Anybfans 端口?现在的ping值?不应该的,只要能上网 就应该能用ss 这也是ss的优势啊
    facat
    facat
    Jan 14, 2015
    25
    尝试用git.oschina.net等国内第三方代码协作网站clone,然后再clone到本地。
    mahone3297
    mahone3297
    Jan 14, 2015
    26
    @Anybfans 我还真不知道。。。可能也做不了这样的事。。。
    信得过我的话,可以把url给我,我晚上回去给你搬回来。。。然后传你。。。留个邮箱。。。
    CodeDrift
    CodeDrift
    OP
    Jan 14, 2015
    27
    @mahone3297 没事没事。谢谢您了。 我借了个宽带号,同步了一下,现在已经可以了。。这个URL是我学习Python用的。。菜鸟一只。。自己在学习 https://github.com/Show-Me-the-Code/show-me-the-code 练习题而已。谢谢啦。
    heaventear
    heaventear
    Feb 27, 2017
    28
    花一碗面的价钱买个梯子,在中国做码农,梯子是必需品啊。推荐天路加速器,稳定速度快, https://91tianlu.com
    heaventear
    heaventear
    May 3, 2017
    29
    花一碗面的价钱买个梯子,在中国做码农,梯子是必需品啊。推荐天路加速器,稳定速度快,https://91tianlu.cn
    heaventear
    heaventear
    May 3, 2017
    30
    在中国做码农,梯子是必需品啊。推荐天路加速器,稳定速度快,https://91tianlu.cn
    CodeDrift
    CodeDrift
    OP
    May 3, 2017
    31
    @heaventear #30
    @livid 这个人全部是在做广告。麻烦处理一下
    heaventear
    heaventear
    May 17, 2017
    32
    中国码农,梯子是必需品啊。推荐天路加速器,稳定速度快,https://91tianlu.cn
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3649 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 05:20 · PVG 13:20 · LAX 21:20 · JFK 00:20
    ♥ Do have faith in what you're doing.