Re: Instructions concerning detached head lead to lost local changes

From: Carl Worth <cworth@cworth.org>
Date: 2007-02-02 13:06:43
On Thu, 01 Feb 2007 17:41:11 -0800, Junio C Hamano wrote:
> The question is how.

I replied already about the no-warning-necessary case.

> Alternatively we could add yet another suggestion that let's you
> discard the detached HEAD but still keep your local changes.
> Either --drop by Linus renamed to some sensible name, or "the
> obscure but useful trick".

But, when the warning is necessary, then I would recommend changing
the -f suggestion to instead suggest --drop, (or whatever it ends up
getting named---I don't care much at all). I think it's fine (and
safer) to just remove the -f option altogether, rather than adding a
third option.

-Carl

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Received on Fri Feb 02 13:07:26 2007

This archive was generated by hypermail 2.1.8 : 2007-02-02 13:09:19 EST