From: Tay Ray Chuan <rctay89@gmail.com>
To: Patrick Doyle <wpdster@gmail.com>
Cc: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>, git <git@vger.kernel.org>
Subject: Re: OK, how should I have done this...
Date: Mon, 22 Nov 2010 22:29:55 +0800 [thread overview]
Message-ID: <AANLkTim19WCCz6_iMrRj9cLU1-Q=MGAWnvYOc8=NBC_F@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=uxRfsy2vG+4CBJv8Vhjrr2roVOXeNLvPA+6U+@mail.gmail.com>
Hi,
On Mon, Nov 22, 2010 at 10:22 PM, Patrick Doyle <wpdster@gmail.com> wrote:
> That looks kinda scary to me. The last time I played with git-reset,
> I ended up losing(*) the commit at the head of my branch. ((*) Well,
> I didn't "lose" it in the sense of "it's gone forever", but I lost it
> in the sense of "it doesn't show up in git log anymore".)
That's the whole idea of git reset. If you want to see what the "lost"
commit was, try git reflog; it's very likely at HEAD@{1}.
--
Cheers,
Ray Chuan
next prev parent reply other threads:[~2010-11-22 14:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-22 13:22 OK, how should I have done this Patrick Doyle
2010-11-22 13:34 ` Matthieu Moy
2010-11-22 14:22 ` Patrick Doyle
2010-11-22 14:29 ` Tay Ray Chuan [this message]
2010-11-22 16:14 ` Matthieu Moy
2010-11-23 0:05 ` Junio C Hamano
2010-11-23 0:17 ` Patrick Doyle
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='AANLkTim19WCCz6_iMrRj9cLU1-Q=MGAWnvYOc8=NBC_F@mail.gmail.com' \
--to=rctay89@gmail.com \
--cc=Matthieu.Moy@grenoble-inp.fr \
--cc=git@vger.kernel.org \
--cc=wpdster@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).