$ 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
配置完成可以快速下载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.