I've been working on some files for 2 days.
Today I wanted to do a "git up" on my codebase, so I did my usual:
git stash save
git up
git stash pop
But I got a little surprise:
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
Is there a way for me to retrieve my lost file (only one is very important)?
Here is the alias I am using for git up:
up = !git pull --rebase=preserve origin \"$(git rev-parse --abbrev-ref HEAD)
Thank you