标签:oca www tran lan div href 本地 top tar
git config --global http.proxy http://localhost:port git config --global https.proxy https://localhost:port
其中,localhost为服务器地址,port为服务端口
这里以设置本地代理服务127.0.0.1:1080为例。
git config --global http.proxy http://127.0.0.1:1080 git config --global https.proxy https://127.0.0.1:1080
标签:oca www tran lan div href 本地 top tar
原文地址:https://www.cnblogs.com/2018shawn/p/12996855.html