查看代理设置
git config --global http.proxy
git config --global https.proxy
设置全局代理
git config --global http.proxy '{scheme}://{host}:{port}'
git config --global https.proxy '{scheme}://{host}:{port}'
scheme:代理协议,可选http,https,socks5等
host:代理地址
port:代理端口号
exp:
git config --global http.proxy 'http://127.0.0.1:10819'
git config --global https.proxy 'http://127.0.0.1:10819'
取消代理
git config --global --unset http.proxy
git config --global --unset https.proxy
只对github.com
#设置代理
git config --global http.https://github.com.proxy socks5://127.0.0.1:1080
#取消代理
git config --global --unset http.https://github.com.proxy
修改配置文件办法
找到git的配置文件.gitconfig。这个文件一般在用户目录下
# 为github.com配置socks5代理
[http "https://github.com"]
proxy = socks5://127.0.0.1:1080
# 为所有的配置socks5代理
[http]
proxy = socks5://127.0.0.1:1080
最新评论
下载的激活包里面没有激活码呢
6666,找了半天终于找到可用的了,点赞
怎么保证这个签名不会乱呢,签名也是数据的一部分
public static void main(String[] args) { List list = Arrays.asList("A","B","C","D");
rangeClosed,是左闭右闭
守护线程 是低优先级线程。其唯一作用是为用户线程提供服务。
不简单,不简单
1.4 可以嘛?