Skip to content

Instantly share code, notes, and snippets.

@chenshengzhi
chenshengzhi / git_ssh_proxy.md
Last active November 8, 2024 08:31
git ssh 代理设置

仅为 GitHub 设置代理

git 代理

设置 git config --global http.https://git.521000.best.proxy socks5://127.0.0.1:1086
设置完成后, ~/.gitconfig 文件中会增加以下条目:

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