添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

https://stackoverflow.com/questions/7489813/github-push-error-rpc-failed-result-22-http-code-413

https://stackoverflow.com/questions/46232906/git-clone-error-rpc-failed-curl-56-openssl-ssl-read-ssl-error-syscall-errno

https://stackoverflow.com/questions/66366582/github-unexpected-disconnect-while-reading-sideband-packet

https://stackoverflow.com/questions/21277806/fatal-early-eof-fatal-index-pack-failed/22317479#22317479

https://stackoverflow.com/questions/24322896/git-push-http-code-502-error

https://stackoverflow.com/questions/59282476/error-rpc-failed-curl-92-http-2-stream-0-was-not-closed-cleanly-protocol-erro

  • Migrate the repo to support LFS: git lfs migrate import --everything --yes --include="*.bin,*.bit,*.bmp,*.cab,*.chk,*.dll,*.exe,*.lib,*.nupkg,*.pdb,*.pdf,*.pof,*.rbf,*.rpd,*.sdb,*.sof,*.xls"
  • Garbage collection: git gc --prune=now
  • Turn on logging:
  • export GIT_TRACE=1
    export GIT_TRACE_PACKET=1
    export GIT_CURL_VERBOSE=1
  • One of
  • git push --mirror origin

    or, as suggested by https://github.com/git-lfs/git-lfs/issues/4350#issuecomment-749036247

    git lfs push origin --all
    export GIT_LFS_SKIP_PUSH=1
    git push --mirror origin
  • The expected result is something along the lines of a "fatal: the remote end hung up unexpectedly", with an "RPC failed" error of some kind. See below.
  • The steps I tried to follow initially were generally from https://docs.gitlab.com/ee/topics/git/lfs/migrate_to_git_lfs.html .

    Kevin Navero