From: Jens Axboe Date: Tue, 10 Jan 2006 10:35:33 GMT Subject: Re: killing a branch Message-ID: <20060110103533.GT3389@suse.de> In-Reply-To: <7vr77g8jm4.fsf@assigned-by-dhcp.cox.net> On Tue, Jan 10 2006, Junio C Hamano wrote: > Jens Axboe 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