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

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

问题描述

我正在使用远程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?

推荐答案

这篇文章 git repack remote / origin / master 可能有助于防止本地存储库损坏。要检查您是否可以尝试将您的远程repo复制到新目录并从中进行测试。

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推送失败 - 解包对象异常退出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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