cmonday
V2EX  ›  git

访问github没有问题,git clone操作却又慢又不稳定……

By cmonday at 2011 年 11 月 26 日 · 16264 次点击
最后经常变成:
fatal: The remote end hung up unexpectedlyB | 1 KiB/s
fatal: early EOFs: 68% (193/282), 5.08 MiB
fatal: index-pack failed
这样

这可如何是好?

上面是用https的,如果用git协议直接就

github.com[0: 207.97.227.239]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)
8 条回复  •  2017-03-19 23:45:49 +08:00
thcode
   1
thcode  
   2011 年 11 月 26 日
加密链接被影响了,我在教育网就是,可以访问网站,但是不能进行clone操作,把https改成http就可以了,不过缺少安全性
yyfearth
   2
yyfearth  
   2011 年 11 月 26 日
应该是wall的问题,用http地址clone。
注意把https改成http就应该可以了。
直接用git协议是用ssh,连https都挂了,更不用说ssh。
bindiry
   3
bindiry  
   2011 年 11 月 26 日
在linux下的话,我用proxychains
fanzeyi
   4
fanzeyi  
   2011 年 11 月 26 日
推荐使用 SSH协议

[email protected] 的那个.. 河南联通表示毫无问题
cmonday
   5
cmonday  
OP
   2011 年 11 月 26 日
@thcode thx! 暂时只能这么解决了~
另外我发现只是要文件的话,download页面也可以解决问题
cmonday
   6
cmonday  
OP
   2011 年 11 月 26 日
@bindiry 这个好,下次也不用挂全局代理了……
cmonday
   7
cmonday  
OP
   2011 年 11 月 26 日
@fanzeyi 就像@yyfearth 说的,SSH挂了的……
thank you @yyfearth
heaventear
   8
heaventear  
   2017 年 3 月 19 日
其实不用这么麻烦, 挂个梯子就行, 推荐天路加速器,看他们那个命令行加速的教程,网址 https://91tianlu.com
git
› Pro Git
› Atlassian Git Tutorial
› Pro Git 简体中文翻译
› GitX
© 2026 V2EX · 31ms · 3.9.8.5