
1 wmrrr 2022-08-29 16:42:40 +08:00 试试全局代理 |
2 conateri 2022-08-29 16:44:35 +08:00 clash for windows 的 TUN Mode |
3 herozzm 2022-08-29 16:44:53 +08:00 host 修改大法? |
4 AmoreLee 2022-08-29 16:46:50 +08:00 clone 的链接有 https 和 ssh 的,可以都试试。有时其中一种可能会更快一些。 另外 git 似乎不会走全局代理,需要 git config 配置一下,可以参考一下: https://c1rew.github.io/2019/05/19/git-clone-%e5%8a%a0%e9%80%9f/ |
5 sprite82 2022-08-29 16:47:38 +08:00 git config --global http.proxy socks5://127.0.0.1:7890 |
6 placeholder 2022-08-29 16:51:39 +08:00 得用 git 命令设置代理,光挂上代理是没用的 记得设置代理的时候端口号要看代理软件设置的端口号是多少,要对应上才行 |
7 cvbnt 2022-08-29 16:59:54 +08:00 via Android cfw 的 tun 模式 |
8 CrazyMonkeyV 2022-08-29 17:03:05 +08:00 |
9 CrazyMonkeyV 2022-08-29 17:04:23 +08:00 完整了写了 git clone 使用代理的流程,按照步骤来,不可能慢 |
10 ysc3839 2022-08-29 17:04:26 +08:00 @sprite82 git 底层使用 libcurl 发送 http 请求,而 libcurl 的代理使用 socks5://时会在本地解析 DNS ,应该改成 socks5h:// https://curl.se/libcurl/c/CURLOPT_PROXY.html |
11 zx9481 2022-08-29 17:06:26 +08:00 |
12 hervey0424 2022-08-29 17:06:53 +08:00 再.gitconfig 中添加代理 |
13 mazai 2022-08-29 17:17:42 +08:00 如果是用 ssh 的方式,可以使用挂个 ssh 代理 vim ~/.ssh/config 添加如下行: #ssh proxy ProxyCommand nc -v -x 127.0.0.1:7890 %h %p |
15 Renco OP git 代理配置也加了,可能是代理比较慢吧。换 ssh 会好一点点 |
16 cheng6563 2022-08-29 17:36:43 +08:00 http 基本是废的,换 ssh 就好了 |
17 Kevinyy 2022-08-29 17:43:03 +08:00 试试 这个命令:git clone --config http.proxy="http://127.0.0.1:7890" https://github.com/****/xxxx.; |
18 licoycn 2022-08-29 17:45:36 +08:00 |
19 nekolr 2022-08-29 17:49:21 +08:00 试试 [proxychains]( https://github.com/shunf4/proxychains-windows) |
20 Proletariused 2022-08-29 17:51:38 +08:00 试试 [ghproxy]( https://ghproxy.com/) |
21 Dkngit 2022-08-29 17:53:38 +08:00 < target="_blank" href="https://dkngit.com/index.php/archives/14/" rel="nofollow noopener">https://dkngit.com/index.php/archives/14/ |
22 Vegetable 2022-08-29 17:54:15 +08:00 直接使用镜像加速呗 https://doc.fastgit.org/zh-cn/guide.html |
23 sunny1688 2022-08-29 17:58:25 +08:00 export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7890 git push |
24 Kasumi20 2022-08-29 17:59:28 +08:00 咱都是通过 nc 走 socks5 的 |
25 Marionic0723 2022-08-29 18:04:57 +08:00 Cloudflare WARP ,全局的,电信也能跑 200M |
26 cweijan 2022-08-29 18:12:50 +08:00 改成 ssh clone, 速度比 http 快, 挂代理慢是你的代理问题.. |
27 wu67 2022-08-29 18:37:39 +08:00 把 export ALL_PROXY=balabala 这个设置一个 alias 写到 shell 配置里面, 需要用这种收到网络干扰的命令行时临时运行一遍就行 |
28 kkocdko 2022-08-29 20:49:49 +08:00 上透明代理。 |
29 tairan2006 2022-08-29 22:12:35 +08:00 via Android 上 ghproxy |
30 retrace 2022-08-29 22:19:03 +08:00 换个好的代理 |
31 20015jjw 2022-08-29 22:21:50 +08:00 via iPhone 有一说一 clone 慢还行 push 慢怎么感觉用途有点奇怪 |
32 ByteCat 2022-08-29 23:40:36 +08:00 直接开 Clash TUN Mode ,最优雅的方式 |
33 likayi 2022-08-30 06:48:21 +08:00 via Android 路由器全局代理就好了 |
34 zhuweiyou 2022-08-30 09:16:00 +08:00 我一直是 13 楼方案 |
35 kujio 2022-08-30 09:34:47 +08:00 git config --global https.proxy http://127.0.0.1:7890 |
36 blening 2022-08-30 10:15:19 +08:00 可以转到国内来。 |
37 cnit 2022-08-30 10:17:03 +08:00 |
38 tpxcer 2022-08-30 10:27:02 +08:00 换个代理服务器 |
39 aimerneigesoft 2022-08-30 11:13:52 +08:00 万能软路由 |