Skip to content

Instantly share code, notes, and snippets.

@godwinnnnn
godwinnnnn / git_ssh_proxy.md
Last active July 17, 2023 15:07 — forked from chenshengzhi/git_ssh_proxy.md
git ssh 代理设置

仅为 GitHub 设置代理

git 代理

设置 git config --global http.https://git.521000.best.proxy socks5://127.0.0.1:1086 注意1086是代理端口

设置完成后, ~/.gitconfig 文件中会增加以下条目:

[http "https://github.com"]
    proxy = socks5://127.0.0.1:1086