V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
git
Pro Git
Atlassian Git Tutorial
Pro Git 简体中文翻译
GitX
cmonday
V2EX  ›  git

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

  •  
  •   cmonday · Nov 26, 2011 · 15832 views
    This topic created in 5266 days ago, the information mentioned may be changed or developed.
    最后经常变成:
    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 replies    2017-03-19 23:45:49 +08:00
    thcode
        1
    thcode  
       Nov 26, 2011
    加密链接被影响了,我在教育网就是,可以访问网站,但是不能进行clone操作,把https改成http就可以了,不过缺少安全性
    yyfearth
        2
    yyfearth  
       Nov 26, 2011
    应该是wall的问题,用http地址clone。
    注意把https改成http就应该可以了。
    直接用git协议是用ssh,连https都挂了,更不用说ssh。
    bindiry
        3
    bindiry  
       Nov 26, 2011
    在linux下的话,我用proxychains
    fanzeyi
        4
    fanzeyi  
       Nov 26, 2011
    推荐使用 SSH协议

    [email protected] 的那个.. 河南联通表示毫无问题
    cmonday
        5
    cmonday  
    OP
       Nov 26, 2011
    @thcode thx! 暂时只能这么解决了~
    另外我发现只是要文件的话,download页面也可以解决问题
    cmonday
        6
    cmonday  
    OP
       Nov 26, 2011
    @bindiry 这个好,下次也不用挂全局代理了……
    cmonday
        7
    cmonday  
    OP
       Nov 26, 2011
    @fanzeyi 就像@yyfearth 说的,SSH挂了的……
    thank you @yyfearth
    heaventear
        8
    heaventear  
       Mar 19, 2017
    其实不用这么麻烦, 挂个梯子就行, 推荐天路加速器,看他们那个命令行加速的教程,网址 https://91tianlu.com
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1221 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 17:51 · PVG 01:51 · LAX 10:51 · JFK 13:51
    ♥ Do have faith in what you're doing.