2020-01-07技术a few seconds read (About 60 words)git设置socks5代理12git config --global https.proxy 'socks5://127.0.0.1:2080'git config --global http.proxy 'socks5://127.0.0.1:2080' 1234567891011121314151617set http_proxy=http://127.0.0.1:2080set https_proxy=http://127.0.0.1:2080set http_proxy_user=userset http_proxy_pass=passset https_proxy_user=userset https_proxy_pass=pass# 恢复set http_proxy=set https_proxy=# Ubuntu 下命令为 export# export http_proxy=http://127.0.0.1:1080#git