Browse Source

Add shell script to fix broken object files

main
parent
commit
95e7841d5c
  1. 5
      bin/git-fix-corrupt.sh

5
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
Loading…
Cancel
Save