V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
chenzw2
V2EX  ›  问与答

github 文件太大,下载一直中断怎么办?

  •  
  •   chenzw2 · 13 天前 · 996 次点击
    POST git-upload-pack (185 bytes)
    POST git-upload-pack (239 bytes)
    remote: Enumerating objects: 170, done.
    remote: Counting objects: 100% (170/170), done.
    remote: Compressing objects: 100% (168/168), done.
    error: RPC failed; curl 56 OpenSSL SSL_read: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac, errno 0
    error: 5893 bytes of body are still expected
    fetch-pack: unexpected disconnect while reading sideband packet
    fatal: early EOF
    fatal: fetch-pack: invalid index-pack output
    

    git clone --depth=1 xxxx.git

    11 条回复    2024-05-21 17:00:09 +08:00
    kylebing
        1
    kylebing  
       13 天前
    你需要的是一个代理
    chenzw2
        2
    chenzw2  
    OP
       13 天前
    @kylebing #1 我开代理了,还是会中断,不知道是我电脑的问题,还是 github 本身有限制
    Creamliu
        3
    Creamliu  
       13 天前   ❤️ 1
    下载链接前面加上 https://mirror.ghproxy.com/
    kylebing
        4
    kylebing  
       13 天前
    反正应该就是网络问题
    naminokoe
        5
    naminokoe  
       13 天前 via iPhone
    先去深圳,然后坐地铁到福田口岸,过关连接香港的 wifi 下载好之后再回来就好了
    june4
        6
    june4  
       13 天前
    在 vps 上 clone,再 rsync 回来
    gnikkij97
        7
    gnikkij97  
       13 天前
    用 git-lfs
    0o0O0o0O0o
        8
    0o0O0o0O0o  
       13 天前 via iPhone
    换个好机场
    vessl1
        9
    vessl1  
       13 天前
    你是只开了代理,还是也在.gitconfig 里边配置了代理,如果只开了代理不一定有效果哦
    CharmingCheung
        10
    CharmingCheung  
       13 天前
    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
    chenzw2
        11
    chenzw2  
    OP
       12 天前
    @Creamliu #3 我用这个下载下来了,感谢各位!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5348 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 08:54 · PVG 16:54 · LAX 01:54 · JFK 04:54
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.