From: Sam Vilain Date: Sun, 20 Jun 2010 08:31:04 GMT Subject: Suggested command in git-filter-branch(1) Message-ID: <1277022664.3728.1.camel@denix> +* Remove the original refs backed up by git-filter-branch: say `git + for-each-ref \--format="%(refname)" refs/original/ | xargs -n 1 git + update-ref -d`. This is sick. I would normally just tell people to use 'rm -rf .git/refs/original', if for some bizarre reason gc has packed the .refs/original refs then I might do something like the above or edit .git/packed-refs How about 'git update-ref -dr refs/original' (and making that work) ? Sam