對(duì)以下文章有疑問可以私聊我盐数,比如自己的端口號(hào)怎么設(shè)置之類的纵柿。
把端口號(hào)改成自己的端口號(hào) spm 像是坐上火箭了菠秒。我的端口號(hào)是 6152
git config --global http.proxy http://127.0.0.1:6152
不得不說這方面老外還是很有點(diǎn)門道恶阴。
git設(shè)置淌山、查看、取消代理
設(shè)置代理:
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'
查看代理:
git config --global --get http.proxy
git config --global --get https.proxy
取消代理:
git config --global --unset http.proxy
git config --global --unset https.proxy