Accelerate git clone in mainland China

How to accelerate git clone

  1. Check the speed of the following three addresses:
    192.30.253.112 github.com
    151.101.72.133 assets-cdn.github.com
    151.101.193.194 github.global.ssl.fastly.net
  2. Modify the configure file:
sudo gedit /etc/hosts
  1. restart network service
/etc/init.d/networking restart
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章