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