Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu
 
 

Repository files navigation

加速github

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

谷歌浏览器

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

微软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 githubusercontent.com" --host-resolver-rules="MAP octocaptcha.com 20.27.177.113, MAP yelp.com 199.232.240.116, MAP githubusercontent.com 199.232.176.133"

git命令

  • 首先启动http代理
  • 设置git使用代理git config --global http.proxy http://127.0.0.1:8180
  • 使用git命令,类似:
    git -c http.sslVerify=false clone https://github.com/feng2208/github-hosts.git
    
  • 取消使用代理:git config --global --unset http.proxy

http代理

  1. 下载github-hosts 并解压
  2. 双击github-hosts.bat打开代理
  3. 以管理员身份运行install-CA.bat信任证书
  4. 运行set-proxy.batunset-proxy.bat设置或取消系统代理
  5. 不使用系统代理的程序自行设置 127.0.0.1:8180

About

加速github,用spotify听歌无广告。

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.