如果你有魔法并且有Clash的话,建议在clash上启用AllowLAN,配置默认端口7890,然后在树莓派上配置全局代理: export http_proxy="http://ip:port"export https_proxy="http://ip:port" 1. 2. 如果要取消全局代理: unset http_proxyunset https_proxy 1. 2. 设置git代理: git config --global http.proxy 'htt...