git push RPC failed
git push 失败
Enumerating objects: 72, done.
Counting objects: 100% (72/72), done.
Delta compression using up to 8 threads
Compressing objects: 100% (37/37), done.
Writing objects: 100% (38/38), 1.01 MiB | 4.25 MiB/s, done.
Total 38 (delta 23), reused 0 (delta 0), pack-reused 0
error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
Everything up-to-date
尝试解决方案:
调整本地 Git 配置(适用于大文件推送失败)
增大 HTTP 传输缓存:# 设置为 500MB
git config --global http.postBuffer 524288000
若问题未解决,可尝试进一步增大至 1048576000(1GB
验证配置生效:
git config --list | grep postBuffer # 检查配置是否生效:ml-citation{ref="3,5" data="citationList"}
                    
                
                
            
        
浙公网安备 33010602011771号