git:无法推送refs到远端。您可以试着运行“拉取”功能,整合您的更改。

问题:

remote: error: inflate: data stream error (incorrect header check)

remote: error: unable to unpack 55a7ec3fca1379256bd56f76c7c9c491602dc0f0 header
remote: fatal: loose object 55a7ec3fca1379256bd56f76c7c9c491602dc0f0 (stored in D:/gitea/data/gitea-repositories/zhaoweiwei/nergy_storage.git/objects/55/a7ec3fca1379256bd56f76c7c9c491602dc0f0) is corrupt
error: remote unpack failed: unpack-objects abnormal exit
To http://10.83.42.206:3000/zhaoweiwei/nergy_storage.git
! remote rejected oneUpdate -> oneUpdate (unpacker error)
error: failed to push some refs to 'http://10.83.42.206:3000/zhaoweiwei/nergy_storage.git'

解决办法:

删除.git/objects/55/a7ec3fca1379256bd56f76c7c9c491602dc0f0文件,并重新pull

相关推荐
是宇写的啊12 小时前
Git远程操作
git
our_times21 小时前
# Git 高频命令实战指南:从日常开发到进阶协作
git
PBitW21 小时前
git 中容易遗忘的点 (二) ⚡⚡⚡
前端·git·面试
PBitW1 天前
git 中容易遗忘的点 (三) 🚀🚀🚀
前端·git·面试
郑州光合科技余经理1 天前
家政预约小程序后端源码深度剖析:支付回调实战
java·开发语言·前端·git·小程序·架构·php
北极糊的狐1 天前
钉钉小程序 Git 版本管理完整流程
git·小程序·钉钉
Fzuim1 天前
当 AI 也成为提交者:ThinkFlow 的 Git 提交规范,是怎么定的
git·agent·thinkflow
CodexDave2 天前
数据库连接池耗尽:排查顺序与三层兜底
服务器·前端·数据库·git·云原生·容器·kubernetes
乐观的Terry2 天前
5、发布系统-Git 集成
大数据·git·elasticsearch
不怕犯错,就怕不做2 天前
GIT的简单打patch应用format-patch and git am
linux·git·全文检索