Created
April 29, 2017 18:19
-
-
Save pce1991/5bbba0dc7139db95963ce90eb0d2b5db 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