git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Suggested command in git-filter-branch(1)
@ 2010-06-20  8:31 Sam Vilain
  0 siblings, 0 replies; only message in thread
From: Sam Vilain @ 2010-06-20  8:31 UTC (permalink / raw)
  To: git

+* 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-20  8:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-20  8:31 Suggested command in git-filter-branch(1) Sam Vilain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).