From: Carl Worth <cworth@cworth.org>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: Instructions concerning detached head lead to lost local changes
Date: Thu, 01 Feb 2007 18:06:43 -0800 [thread overview]
Message-ID: <87abzx9uto.wl%cworth@cworth.org> (raw)
In-Reply-To: <7v1wl9mj48.fsf@assigned-by-dhcp.cox.net>
[-- Attachment #1: Type: text/plain, Size: 655 bytes --]
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 #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-02-02 2:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-01 22:51 Instructions concerning detached head lead to lost local changes Carl Worth
2007-02-01 23:49 ` Linus Torvalds
2007-02-02 1:41 ` Junio C Hamano
2007-02-02 2:00 ` Carl Worth
2007-02-02 2:06 ` Carl Worth [this message]
2007-02-02 2:49 ` Nicolas Pitre
2007-02-02 6:59 ` Theodore Tso
2007-02-02 7:14 ` Nicolas Pitre
2007-02-02 7:44 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87abzx9uto.wl%cworth@cworth.org \
--to=cworth@cworth.org \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.