go/git设置及取消代理方法
生活随笔
收集整理的這篇文章主要介紹了
go/git设置及取消代理方法
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
本地開啟VPN后,GIt也需要設置代理,才能正常略過GFW,訪問goole code等網站
設置如下(可復制):
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
總結
以上是生活随笔為你收集整理的go/git设置及取消代理方法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: spring cloud 微服务相关信息
- 下一篇: spring cloud: 使用cons