Http: Proxy
The proxy setting to use. If not set, will be inherited from the http_proxy
...
http://127.0.0.1:7890
设置了还是不行,只能用那个 steam++
![]() | 1 hzdzyx 2024-01-29 22:52:29 +08:00 ![]() git config --global http.proxy http://127.0.0.1:7890 git config --global https.proxy http://127.0.0.1:7890 |
![]() | 2 kkk9 2024-01-29 23:44:28 +08:00 vscode 也是调用 git 的服务,全局 或者 #1 配置 git 走代理 |
3 zqx 2024-01-29 23:52:34 +08:00 via Android 如果是 ssh 协议需要在.ssh 目录添加 config 文件 |
![]() | 5 BORBER 2024-01-30 00:23:06 +08:00 |
![]() | 6 flyqie 2024-01-30 02:39:50 +08:00 via Android git 会走自己的代理配置。。 所以你设*_proxy 基本是不会有效的。。 |
![]() | 7 gentrydeng 2024-01-30 02:45:58 +08:00 @hzdzyx #1 Git 没有 `https.*` 配置项。 |
![]() | 8 hzdzyx 2024-01-30 07:56:34 +08:00 @gentrydeng 受教了 |
![]() | 9 zx9481 2024-01-30 08:25:59 +08:00 我一般开 clash 的 tun 一劳永逸 |
10 cvbnt 2024-01-30 08:34:46 +08:00 via Android 无脑使用 TUN 模式 |
11 shiquda 2024-01-30 08:59:43 +08:00 |
13 alsas 2024-01-30 09:32:57 +08:00 clash 直接开 TUN 模式 解决一切问题 |
14 daolanfler 2024-01-30 10:04:02 +08:00 话说 clash 都跑路了,就目前这个情况,还能用个一年半载的,之后用啥呢 |
![]() | 15 weijancc 2024-01-30 10:27:24 +08:00 @daolanfler #14 clash 只是个客户端, 用"跑路"这个词是不妥的, 很多早就不更新的代理客户端都是可以用的 |
16 KP45 2024-01-30 10:29:57 +08:00 WSL2 支持直接使用 Windows 的系统代理了 https://github.com/microsoft/WSL/releases/tag/2.0.0 |
![]() | 17 blacktail 2024-01-30 10:57:18 +08:00 如果走 http ,要设置 git.config 。如果走 ssh ,要设置.ssh/config 。 |
18 zed1018 2024-01-30 11:00:24 +08:00 借楼提一句,如果是 SSH 的话,可能有些梯子不支持 22 outbound |
19 zcjwxf 2024-01-30 11:51:33 +08:00 git 是 git vscode 是 vscode |
![]() | 20 Betsy 2024-01-30 12:47:24 +08:00 via iPhone |
21 EspoirBao 2024-01-30 16:59:06 +08:00 这种问题直接无脑 TUN ,解决一切烦恼 |