我试图将本地存储库推送到Bitbucket上的远程分支,但是总是无法推送。错误显示如下:
Counting objects: 2309, done.
Delta compression using up to 4 threads.
Connection to bitbucket.org closed by remote host.
fatal: The remote end hung up unexpectedly
Compressing objects: 100% (2295/2295), done.
error: pack-objects died of signal 13
error: failed to push some refs to ....
我已经尝试过。
git config http.postBuffer 5242880
结果显示了相同的错误。我还尝试将设置从https更改为ssh,但仍然出现了相同的错误。
我猜想可能是因为我将大文件推送到了远程存储库。一个月以来,我没有请求任何更新,只进行了拉取请求以更新我的本地存储库。