git设置socks代理

作者: bboysoul | 来源:发表于2018-03-15 16:49 被阅读25次

概述

不知道为什么今天我访问github这么慢,没办法给git设置socks代理吧

设置代理

终端下执行
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

最后

没错就是这么简单,有问题的可以找我

欢迎关注Bboysoul的博客www.bboysoul.com
Have Fun

相关文章

  • 2021-09-22

    Windows cmd 设置代理设置 HTTP 代理: socks5代理设置: 取消代理: Windows git...

  • 记录一次Android源码的下载和编译

    准备 确保安装了Git工具,最好使用代理 git socks5 代理设置 (https 代理设置,将命令中的soc...

  • GIT 代理设置

    设置代理 git config --global http.proxy 'socks5://127.0.0.1:...

  • scoop+git+配置代理

    速度飙升 首先配置git代理,用批处理更简单 设置scoop 代理 备注git 使用socks5://127.0....

  • git设置socks代理

    概述 不知道为什么今天我访问github这么慢,没办法给git设置socks代理吧 设置代理 终端下执行git c...

  • 为git设置网络代理

    设置http、https代理 git config --global http.proxy socks5://12...

  • LibreSSL SSL_connect: Operation

    1、首先看自己的VPN代理socks端口,自己用的 2、根据socks端口配置git代理 git config -...

  • Git代理设置

    设置代理 或者 设置socks5代理 删除代理 或者

  • Java 中的HTTP/Socks代理设置

    在内网环境,有些时候需要设置Java代理,常见的有HTTP(s)代理和Socks代理,如何设置代理,Java 可以...

  • Mac终端走代理

    设置代理 export ALL_PROXY=socks5://127.0.0.1:51837 移除代理 unset...

网友评论

    本文标题:git设置socks代理

    本文链接:https://www.haomeiwen.com/subject/pybhqftx.html