git push后一直卡在在Writing objects:问题

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

在执行git push。

一般设置后就可以成功了,后面不用看。

  1. 我这里结果又报错:

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)
    然后把值设置为了一个中间的数值。虽然等了很久最终还是成功了。
相关推荐
Gary Studio3 小时前
Git vscode 插件推荐
ide·git·vscode
StackNoOverflow4 小时前
IDEA + Git + Gitee 全流程实战:从安装、提交到解决冲突
git·gitee·intellij-idea
淘矿人18 小时前
从0到1:用Claude启动你的第一个项目
开发语言·人工智能·git·python·github·php·pygame
lpfasd12318 小时前
Git/Gitee/GitHub 3 个安全凭证详解
git·gitee·github
李日灐1 天前
< 7 > Linux 开发工具:git 版本控制器 和 cgdb/gdb 调试器
linux·运维·服务器·开发语言·git·调试器·gdb/cgdb
Gust of wind1 天前
idea结合git和Gitee的初步使用
git·gitee·intellij-idea
夜七少eleanor1 天前
【Git】2026全图文详解安装教程
git
海边的Kurisu1 天前
从零开始的Git生活 | 刚实习同学的噩梦 And 参与开源不可缺的一环
git·生活
不老刘1 天前
Git Cherry-Pick:微前端架构下的“精准医疗”与最佳实践
前端·git
爬楼的猪1 天前
Git Folder Dashboard
git