Suggested command in git-filter-branch(1)
From: Sam Vilain <hidden>
Date: 2016-06-15 22:48:59
From: Sam Vilain <hidden>
Date: 2016-06-15 22:48:59
+* 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