From: Philippe Vaucher <philippe.vaucher@gmail.com>
To: John Lumby <johnlumby@hotmail.com>
Cc: git@vger.kernel.org
Subject: Re: git -- how to revert build to as-originally-cloned?
Date: Fri, 20 May 2011 16:42:34 +0200 [thread overview]
Message-ID: <BANLkTi=nFf_6oULwqtC=--JBS9py3fvjwA@mail.gmail.com> (raw)
In-Reply-To: <4DD44DCD.7010508@hotmail.com>
> am stuck trying to revert a private kernel build back to the state in which I originally cloned it,
> (after probably doing the wrong thing - as below). Hoping someone can advise.
I just wanted to add that usually when I "mess up" and want to revert
to a previous state, I usually simply `git reflog`, find where I was
before messing up, then `git reset --hard` to the desired SHA1.
Hope it helps,
Philippe
next prev parent reply other threads:[~2011-05-20 14:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-18 22:53 git -- how to revert build to as-originally-cloned? John Lumby
2011-05-18 23:26 ` Tim Mazid
2011-05-19 15:27 ` John Lumby
2011-05-20 2:16 ` Tim Mazid
2011-05-20 14:15 ` John Lumby
2011-05-20 14:42 ` Philippe Vaucher [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-05-20 16:25 George Spelvin
2011-05-20 19:18 ` John Lumby
2011-05-20 19:34 ` Paul Ebermann
2011-05-20 20:22 ` George Spelvin
2011-05-20 20:26 ` George Spelvin
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='BANLkTi=nFf_6oULwqtC=--JBS9py3fvjwA@mail.gmail.com' \
--to=philippe.vaucher@gmail.com \
--cc=git@vger.kernel.org \
--cc=johnlumby@hotmail.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).