Re: Instructions concerning detached head lead to lost local changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgppUJ1aBKJIy.pgp
Description: PGP signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]