github代理
自己整理的github代理
代理网址
https://g.cachecdn.ggff.net/
https://gitcode.com/
https://git.mxg.pub/
https://xiake.pro/
https://github.akams.cn/
手动更新 hosts 方法
适合临时使用,Github 的ip经常变
Linux / MacOS
hosts 路径:/etc/hosts
Windows
hosts 路径:C:\Windows\System32\drivers\etc\hosts
hosts 自动更新 IP
fetch-github-hosts
为解决研究及学习人员访问 Github 过慢或其他问题而提供的 Github Hosts 同步服务。
macOS
及 Linux
可到 SwitchHosts 项目地址下载
macOS
上每次启动后的第一次修改 hosts
是需要输入系统密码的,用来获取写入系统 hosts
权限的必备操作,可以放心操作。
Windows
:https://pan.quark.cn/s/452060d8f6a0?pwd=stwH 提取码:stwH
双击运行打开
点击创建
选择远程
标题自己起名:GitBub
URL: https://hosts.gitcdn.top/hosts.txt
自动刷新:自己设置就行
然后开启即可