1. 全局代理设置 # 基于http/https进行代理 git config --global http.proxy http://127.0.0.1:1080 # 基于Socks5进行代理 git config --global http.proxy socks5://127.0.0.1:78