chenzw2
V2EX  ›  问与答

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

  •  
  •   chenzw2 · May 21, 2024 · 2906 views
    This topic created in 897 days ago, the information mentioned may be changed or developed.
    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 replies  •  2024-05-21 17:00:09 +08:00
    kylebing
    kylebing
    May 21, 2024
    1
    你需要的是一个代理
    chenzw2
    chenzw2
    OP
    May 21, 2024
    2
    @kylebing #1 我开代理了,还是会中断,不知道是我电脑的问题,还是 github 本身有限制
    Virexw
    Virexw
    May 21, 2024❤️1
    3
    下载链接前面加上 https://mirror.ghproxy.com/
    kylebing
    kylebing
    May 21, 2024
    4
    反正应该就是网络问题
    naminokoe
    naminokoe
    May 21, 2024 via iPhone
    5
    先去深圳,然后坐地铁到福田口岸,过关连接香港的 wifi 下载好之后再回来就好了
    june4
    june4
    May 21, 2024
    6
    在 vps 上 clone,再 rsync 回来
    gnikkij97
    gnikkij97
    May 21, 2024
    7
    用 git-lfs
    0o0O0o0O0o
    0o0O0o0O0o
    May 21, 2024 via iPhone
    8
    换个好机场
    vessl1
    vessl1
    May 21, 2024
    9
    你是只开了代理,还是也在.gitconfig 里边配置了代理,如果只开了代理不一定有效果哦
    CharmingCheung
    CharmingCheung
    May 21, 2024
    10
    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
    chenzw2
    OP
    May 21, 2024
    11
    @Creamliu #3 我用这个下载下来了,感谢各位!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1385 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 20:16 · PVG 04:16 · LAX 12:16 · JFK 15:16
    ♥ Do have faith in what you're doing.