Skip to content

Instantly share code, notes, and snippets.

View CHN-STUDENT's full-sized avatar
🇨🇳
Chinese Student

CHN-STUDENT CHN-STUDENT

🇨🇳
Chinese Student
View GitHub Profile
@CHN-STUDENT
CHN-STUDENT / git_ssh_proxy.md
Created March 27, 2024 08:04 — 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
设置完成后, ~/.gitconfig 文件中会增加以下条目:

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