Git 推送失败 - unpack-objects 异常退出 [英] Git push failed - unpack-objects abnormal exit

查看:20
本文介绍了Git 推送失败 - unpack-objects 异常退出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用远程 git 存储库.我成功提交了我的文件,现在我正在尝试将其推送到流式传输.

I'm using remote git repository. I successfully commit my files and now I'm trying to push it up to stream.

操作失败并显示此消息:

Operation fails with this messasge:

git.exe push --progress  "origin" master:master

error: unpack failed: unpack-objects abnormal exit
error: RPC failed; result=18, HTTP code = 200

我在 Windows 7 上使用 TortoiseGit 客户端.

I use TortoiseGit client on Windows 7.

为什么我会收到这条消息?如何从这种状态中恢复?

Why am I getting this message? how to recover from this state?

推荐答案

根据 this 文章 git repack remote/origin/master 可能会在您的本地存储库损坏的情况下有所帮助.要检查您是否可以尝试将远程存储库克隆到新目录并从中测试推送.

According to this article git repack remote/origin/master might help in case your local repository was corrupted. To check that you can try cloning your remote repo into new directory and test push from it.

这篇关于Git 推送失败 - unpack-objects 异常退出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆