Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 12 lines (8 sloc) 218 Bytes
#!/bin/sh
BASE_DIR=$(cd $(dirname $0); pwd)
# ditch all pre-conversion objects forcefully
git reflog expire --all --expire=now
git prune
git prune-packed
git repack -a -d -f --window=250 --depth=250
git fsck --full