diff --git a/bin/git-fix-corrupt.sh b/bin/git-fix-corrupt.sh new file mode 100755 index 0000000..dd0dd82 --- /dev/null +++ b/bin/git-fix-corrupt.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env sh + +find .git/objects/ -type f -empty | xargs rm +git fetch -p +git fsck --full