From: Junio C Hamano Date: Mon, 21 Jun 2010 00:09:32 GMT Subject: Re: [PATCH 3/3] builtin/checkout: DWIM with -f -b Message-ID: <7vfx0htfer.fsf@alter.siamese.dyndns.org> In-Reply-To: <20100620211605.GA2559@sigill.intra.peff.net> Jeff King writes: > ... For your workflow, I > doubt it matters, but it is potentially destructive. Yes; I thought the implication of "-f" to be destructive would be a justification enough, but I agree with you that conflating the two may be a bad idea. When a user says "git checkout -f -b jch" after seeing the command without "-f" fail due to existing "jch", it is quite clear that the user wants to clobber the history of existing "jch" branch (why else would he giving "-f"), but it is not a justification to clobber local changes he has in the index and the work tree.