From: Karl Hasselström Date: Thu, 25 Oct 2007 14:51:32 GMT Subject: Re: best git practices, was Re: Git User's Survey 2007 unfinished summary continued Message-ID: <20071025145132.GA31196@diana.vm.bytemark.co.uk> In-Reply-To: <4720903E.1070103@op5.se> On 2007-10-25 14:46:54 +0200, Andreas Ericsson wrote: > error: The branch 'next' is not a strict subset of your current > HEAD. If you are sure you want to delete it, run 'git branch -D > next'. > > So you want me to tell all the developers they should use "git > branch -D maint" instead, so they can bypass the built-in security > checks? No thanks. Maybe the solution here is to let "git branch -d" succeed if the branch is a subset of HEAD or the branch it is tracking? That way, deleting would succeed if upstream has all your commits. -- Karl Hasselström, kha@treskal.com www.treskal.com/kalle