腾讯云 git clone 如何能快点 😅

2020-03-24 13:44:58 +08:00
 justin2018

用了几个 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 仓库 😅

2193 次点击
所在节点    GitHub
2 条回复
justin2018
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
2020-03-24 14:10:32 +08:00
本地拖下来再传上去。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/655676

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX