加速github

命令提示符启动,在执行命令前先关闭浏览器。

谷歌浏览器

Windows

"C:\Program Files\Google\Chrome\Application\chrome.exe" --host-rules="MAP github.com octocaptcha.com, MAP github.githubassets.com yelp.com, MAP *.githubusercontent.com yelp.com" --host-resolver-rules="MAP octocaptcha.com 20.200.245.247, MAP yelp.com 146.75.48.116"

macOS

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --host-rules="MAP github.com octocaptcha.com, MAP github.githubassets.com yelp.com, MAP *.githubusercontent.com yelp.com" --host-resolver-rules="MAP octocaptcha.com 20.200.245.247, MAP yelp.com 146.75.48.116"

微软Edge浏览器

在浏览器设置-系统和性能启动增强关闭。

"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --host-rules="MAP github.com octocaptcha.com, MAP github.githubassets.com yelp.com, MAP *.githubusercontent.com yelp.com" --host-resolver-rules="MAP octocaptcha.com 20.200.245.247, MAP yelp.com 146.75.48.116"