Skip to content

Instantly share code, notes, and snippets.

@dylanzan
Last active July 12, 2024 00:58
Show Gist options
  • Save dylanzan/be9b7289037d413c4c9d1532897f8e09 to your computer and use it in GitHub Desktop.
Save dylanzan/be9b7289037d413c4c9d1532897f8e09 to your computer and use it in GitHub Desktop.
github 中国大陆访问代理
GitHUB 访问代理:
软件功能简介:
· 域名纯净IP解析:提供无污染的域名解析服务,增强访问质量。
· IP测速与选择:自动测速并选择连接最快的IP地址。
· CDN资源替换:用于google CDN资源,解决部分国外网站的js和css加载问题。
· 非翻墙安全性:保持网络连接安全且干净,不记录用户信息。
Linux临时网络配置:
设置临时的HTTP和HTTPS代理(解决github releases,wget,curl等操作中可能出现的网络问题):
export https_proxy=http://git.iizone.com.cn:32222
export http_proxy=http://git.iizone.com.cn:32222
export all_proxy=socks5://git.iizone.com.cn:32222
Git代理配置:
临时代理设置:
git config http.proxy http://git.iizone.com.cn:32222
git config https.proxy http://git.iizone.com.cn:32222
永久代理设置:
git config --global http.proxy http://git.iizone.com.cn:32222
git config --global https.proxy http://git.iizone.com.cn:32222
取消设置的代理:
git config --global --unset http.proxy
git config --global --unset https.proxy
请按需使用上述配置选项以优化您的Git工作流程和网络连接。
解决Git操作中的SSL证书问题:
使用以下方法中的任一方法来关闭SSL证书验证:
在Linux系统中关闭系统级证书验证:
export GIT_SSL_NO_VERIFY=1
在Git中关闭证书验证:
git config --global http.sslverify false
@dylanzan
Copy link
Author

支持以下网站:
amazonaws
bootcss
fastly
github
google
imgur
microsoft
packages
v2ex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment