Re: [PATCH] git-push: add a --delete flag to allow branch deletion
- From
- Sverre Rabbelier <alturin@gmail.com>
- Date
- Jun 19, 2008, 23:20 UTC
- Message-ID
- <bd6139dc0806191620y3f821c15h91454ddef2173590@mail.gmail.com>
- In-Reply-To
- <4BED18CA-BFFE-4F35-A484-6CF0908D3FC1@ai.rug.nl>
On Fri, Jun 20, 2008 at 12:55 AM, Pieter de Bie <pdebie@ai.rug.nl> wrote:
Show 9 quoted lines
> On 20 jun 2008, at 00:30, Andreas Ericsson wrote: > >> Question though; does it delete the currently checked out >> branch if no branch-name is given? I'd prefer if one has >> to explicitly name the branch to delete. > > You have to explicitly give it a remote and one or more branches > to delete. I thought it would be best to be unambiguous in cases > where deletion is concerned :)
I like it too, it's one of the most unintuitive parts of the git interface imo. I am guessing there is no "-d" switch because deletion is involved? Then again, there is a "git branch -d/D"?
-- Cheers, Sverre Rabbelier