Github代理设置
Github代理设置
git config –global http.proxy http://127.0.0.1:10809
git config –global https.proxy https://127.0.0.1:10809
git config –global http.proxy socks5://127.0.0.1:10808
git config –global https.proxy socks5://127.0.0.1:10808
取消代理
git config –global –unset http.proxy
git config –global –unset https.proxy
奇怪的是设置http代理后用sock地址下载比用http地址下载更快
git config –global url.”git@github.com:”.insteadOf git://github.com/
1 | |
Github代理设置
http://example.com/2022/05/16/运维/github代理设置/