1. git push后一直卡在Writing objects:
    解决:设置
git config --global http.postBuffer 5242880000

在执行git push。
一般设置后就可以成功了,后面不用看。
2. 我这里结果又报错:
fatal: protocol error: bad line length 8192 MiB | 107.46 MiB/s
send-pack: unexpected disconnect while reading sideband packet
在这里插入图片描述

  1. 然后又把上面的值设置的更大了些,后面多加了两个0,报错变成fatal: Out of memory, malloc failed (tried to allocate 889192448 bytes)
    然后把值设置为了一个中间的数值。虽然等了很久最终还是成功了。
Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐