mirror of
https://github.com/git/git.git
synced 2025-03-16 04:35:15 +00:00
3 lines
135 B
Plaintext
3 lines
135 B
Plaintext
|
#!/bin/sh
|
||
|
fsck-cache --unreachable $(cat .git/HEAD ) | grep unreachable | cut -d' ' -f3 | sed 's:^\(..\):.git/objects/\1/:' | xargs rm
|