# 设置代理
git config --global http.https://github.com.proxy socks5://127.0.0.1:1086
# 取消代理
git config --global --unset http.https://github.com.proxy



如果没有代理也不要急,有专门的cdn加速:
git config --global url."https://github.com.cnpmjs.org".insteadOf "https://github.com"

git config --global url."https://ghproxy.com/https://github.com".insteadOf "https://github.com" 

git config --global url."https://hub.fastgit.xyz/".insteadOf "https://github.com/"

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐