github-git clone 下载很慢的问题解决

git clone下载很慢的问题:

下载到指定目录:git clone https://github.com/ChengWuOne/spring-cloud-demo.git D:/日常软件/GitHub/1234

解决方法:

1、用记事本打开hosts文件(C:\Windows\System32\drivers\etc\hosts),将上述查到的对应的内容写入。

151.101.72.249 github.global.ssl.fastly.net

192.30.253.112 github.com

2、cmd刷新DNS缓存:

ipconfig /flushdns

3、重新启动

猜你喜欢

转载自www.cnblogs.com/lijianda/p/10829841.html
今日推荐