Skip to content

Instantly share code, notes, and snippets.

@Codennnn
Last active September 28, 2022 06:29
Show Gist options
  • Save Codennnn/f332b306a34df00adf0216400cb71e21 to your computer and use it in GitHub Desktop.
Save Codennnn/f332b306a34df00adf0216400cb71e21 to your computer and use it in GitHub Desktop.
对 GitHub 进行 socket5 代理,提高访问速度。
# 以代理端口 7890 为例
git config --global http.https://github.com.proxy socks5h://127.0.0.1:7890

# 取消代理
git config --global --unset http.https://github.com.proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment