From: Sam Vilain <sam@vilain.net>
To: git@vger.kernel.org
Subject: Suggested command in git-filter-branch(1)
Date: Sun, 20 Jun 2010 20:31:04 +1200 [thread overview]
Message-ID: <1277022664.3728.1.camel@denix> (raw)
+* 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
reply other threads:[~2010-06-20 8:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1277022664.3728.1.camel@denix \
--to=sam@vilain.net \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).