Subject: Re: killing a branch

From: Jens Axboe <[email-masked]>
Date: Tue, 10 Jan 2006 11:35:33 +0100

On Tue, Jan 10 2006, Junio C Hamano wrote:
> Jens Axboe <[email-masked]> 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