V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
justin2018
V2EX  ›  GitHub

腾讯云 git clone 如何能快点 😅

  •  
  •   justin2018 · 2020-03-24 13:44:58 +08:00 · 2193 次点击
    这是一个创建于 1710 天前的主题,其中的信息可能已经有所发展或是发生改变。

    用了几个 GitHub 镜像 clone 时快时慢😅

    镜像

    -> # git clone --depth=1 https://github.com.cnpmjs.org/Rapiz1/DungeonRush.git
    Cloning into 'DungeonRush'...
    remote: Enumerating objects: 130, done.
    remote: Counting objects: 100% (130/130), done.
    remote: Compressing objects: 100% (96/96), done.
    Receiving objects:   6% (9/130), 68.00 KiB | 3.00 KiB/s
    

    原始

    -> # git clone https://github.com/Rapiz1/DungeonRush.git
    Cloning into 'DungeonRush'...
    remote: Enumerating objects: 351, done.
    remote: Counting objects: 100% (351/351), done.
    remote: Compressing objects: 100% (190/190), done.
    Receiving objects:  32% (113/351), 92.00 KiB | 15.00 KiB/s
    

    修改 host 依旧慢


    现在用的方法:

    国外 VPS 下 然后拖回国内~

    用 Gitee 导入 GitHub 的 Git 仓库 😅

    2 条回复    2020-03-24 14:10:32 +08:00
    justin2018
        1
    justin2018  
    OP
       2020-03-24 14:05:25 +08:00
    /t/655671

    用了这个自己搭建了一个 😅

    ```
    -> # git clone https://xxxx.workers.dev/https://github.com//Rapiz1/DungeonRush.git
    Cloning into 'DungeonRush'...
    remote: Enumerating objects: 351, done.
    remote: Counting objects: 100% (351/351), done.
    remote: Compressing objects: 100% (190/190), done.
    remote: Total 351 (delta 154), reused 320 (delta 128), pack-reused 0
    Receiving objects: 100% (351/351), 9.66 MiB | 2.76 MiB/s, done.
    Resolving deltas: 100% (154/154), done.
    ```
    Jirajine
        2
    Jirajine  
       2020-03-24 14:10:32 +08:00 via Android
    本地拖下来再传上去。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1026 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 20:36 · PVG 04:36 · LAX 12:36 · JFK 15:36
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.