go/git设置及取消代理方法
生活随笔
收集整理的這篇文章主要介紹了
go/git设置及取消代理方法
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
本地開(kāi)啟VPN后,GIt也需要設(shè)置代理,才能正常略過(guò)GFW,訪問(wèn)goole code等網(wǎng)站
設(shè)置如下(可復(fù)制):
git config --global https.proxy http://127.0.0.1:1080
?git config --global https.proxy http://127.0.0.1:1080
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 --unset http.proxy
git config --global --unset https.proxy
set http_proxy=http://127.0.0.1:1080
set https_proxy=http://127.0.0.1:1080
總結(jié)
以上是生活随笔為你收集整理的go/git设置及取消代理方法的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: spring cloud 微服务相关信息
- 下一篇: spring cloud: 使用cons