Two steps to solve the problem that clone code from GitHub is very slow

The clone code from github is very slow, we
can
open cmd as the first step and execute

ping github.global.ssl.fastly.netpin

write picture description here

As can be seen from the figure, the information is returned from the host 151.101.72.249

Step 2
Open the C:\Windows\System32\drivers\etc\hosts file and add at the end

151.101.72.249 github.global.ssl.fastly.net

At this time, downloading the code will significantly improve the speed.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325564277&siteId=291194637