git stash pop给我一个致命的错误

时间:2015-02-03 15:13:17

标签: git

我已经在一些文件上工作了2天。

今天我想做一个" git up"在我的代码库上,所以我按照惯例做了:

git stash save
git up
git stash pop

但我有点意外:

error: object file .git/objects/05/f771480d6a6bde54b3dacc4b6dc1920027e6d5 is empty
error: object file .git/objects/05/f771480d6a6bde54b3dacc4b6dc1920027e6d5 is empty
fatal: loose object 05f771480d6a6bde54b3dacc4b6dc1920027e6d5 (stored in .git/objects/05/f771480d6a6bde54b3dacc4b6dc1920027e6d5) is corrupt

我有办法检索丢失的文件(只有一个非常重要)吗?

这是我用于git的别名:

 up = !git pull --rebase=preserve origin \"$(git rev-parse --abbrev-ref HEAD)

谢谢

0 个答案:

没有答案
相关问题