首页 > 编程知识 正文

qv2ray 全局代理,vmess软件

时间:2023-05-05 21:16:45 阅读:171699 作者:4538

命令设置http/https本地代理的使用

git config---global https.proxy http://127.0.0.133601080

git config---global https.proxy https://127.0.0.133601080

取消http/https本地代理

git config---- global---unset http.proxy

git config---- global---unset https.prox

如果上述方法无法解决问题,请再次尝试配置sock5代理。 git config---- global http.proxy‘socks 53360//127.0.0.1:1080’

git config---- global https.proxy‘socks 53360//127.0.0.133601080’

如果只为GitHub设置代理,则只能为github.com设置代理

git config---- global http.https://github.com.proxy socks 53360//127.0.0.133601080

如果使用ssh://协议,则可以将socks5代理配置为在~/.ssh/config文件的内容后添加一行Host github.com

用户工具包

proxycommandconnect-s 127.0.0.1:1080 % h % p

应用场景hexo等发布到GitHub时失败,错误消息:用“xx time out”更新GitHub仓库无响应$ git push ssh:

connecttohostgithub.comport 22: networkisunreachablefatal 3360

The remote end hung up unexpectedly

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。