-
-
Save mauleyzaola/8756f57916d2abf98df6268bc533a95f to your computer and use it in GitHub Desktop.
Repair git says object files are empty/corrupted
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find .git/objects/ -type f -empty | xargs rm | |
git fetch -p | |
git fsck --full | |
http://stackoverflow.com/questions/11706215/how-to-fix-git-error-object-file-is-empty |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment