git clone下载速度慢(git clone太慢了)

git clone下载速度慢(git clone太慢了)

$ git clone https://github.com/Apress/pro-spring-5.git

打开hosts 文件,增加如下配置项:

151.101.72.249 global-ssl.fastly.Net

192.30.253.112 github.com

git clone下载速度慢(git clone太慢了)

配置完成可以快速下载github 的source code:

Rickie@Thinkpad-T460P MINGW64 /d/GitHub (master)

$ git clone https://github.com/Apress/pro-spring-5.git

Cloning into 'pro-spring-5'...

remote: Enumerating objects: 541, done.

remote: Counting objects: 100% (541/541), done.

remote: Compressing objects: 100% (301/301), done.

remote: Total 10731 (delta 58), reused 440 (delta 17), pack-reused 10190

Receiving objects: 100% (10731/10731), 3.58 MiB | 25.00 KiB/s, done.

Resolving deltas: 100% (2751/2751), done.

Checking out files: 100% (1943/1943), done.

版权声明:本文内容由互联网用户投稿发布,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 2211788188@qq.com 举报,一经查实,本站将立刻删除。如需转载请注明出处:https://www.wptmall.com/a/article/17580

为您推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注