Git 设置代理
查看代理
git config --global --get http.proxy
设置代理
# http
git config --global http.proxy 'socks5://127.0.0.1:51837'
# https
git config --global https.proxy 'socks5://127.0.0.1:51837'
删除代理
git config --global --unset http.proxy
# 如果提示有多处values,使用以下命令
git config --global --replace-all http.proxy ""