From: Jens Axboe <axboe@suse.de>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: killing a branch
Date: Tue, 10 Jan 2006 11:35:33 +0100 [thread overview]
Message-ID: <20060110103533.GT3389@suse.de> (raw)
In-Reply-To: <7vr77g8jm4.fsf@assigned-by-dhcp.cox.net>
On Tue, Jan 10 2006, Junio C Hamano wrote:
> Jens Axboe <axboe@suse.de> writes:
>
> > $ rm .git/refs/heads/branch-name
> > $ git prune
> >
> > to rid myself of the branch and associated objects. Is there a faster
> > approach?
>
> Perhaps the "official" way is
>
> $ git branch -d branch-name ;# you may need -D
> $ git prune
>
> but that essentially is the same as what you are doing. Note
So no time saved there :-)
> that having dangling objects in your repository is not a crime,
> and you do not have to religiously do "git prune" every time.
I know, it just doesn't feel nice!
--
Jens Axboe
next prev parent reply other threads:[~2006-01-10 10:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-10 10:22 killing a branch Jens Axboe
2006-01-10 10:25 ` Junio C Hamano
2006-01-10 10:35 ` Jens Axboe [this message]
2006-01-10 10:52 ` Junio C Hamano
2006-01-10 11:26 ` Jens Axboe
2006-01-10 17:12 ` Linus Torvalds
2006-01-10 18:59 ` Jens Axboe
-- strict thread matches above, loose matches on Subject: below --
2006-01-12 9:57 linux
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=20060110103533.GT3389@suse.de \
--to=axboe@suse.de \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.