git-prune-scripton commit [PATCH] show-diff.c: -R option for reverse diff. (4789576)
   1#!/bin/sh
   2fsck-cache --unreachable $(cat .git/HEAD ) | grep unreachable | cut -d' ' -f3 | sed 's:^\(..\):.git/objects/\1/:' | xargs rm