From: walt <wa1ter@myrealbox.com>
To: git@vger.kernel.org
Subject: Re: git-bisect is magical
Date: Tue, 10 Jan 2006 12:43:05 -0800 [thread overview]
Message-ID: <dq168p$3kt$1@sea.gmane.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0601101143180.4939@g5.osdl.org>
Linus Torvalds wrote:
>
> On Tue, 10 Jan 2006, Linus Torvalds wrote:
>> You can _undo_ the revert, so it's not permanent in that sense. Just do
>>
>> git reset --hard origin
>>
>> and your "master" branch will be forced back to the state that "origin"
>> was in.
>
> Btw, you can try this (careful - it will also undo any dirty state you
> have in your working tree), and then do the "pull" again (which should now
> be a trivial fast-forward) and then just try to do the "git revert" on the
> new state.
Just by stumbling around and trying things at random, I did a
'git-checkout origin' which *seemed* to resolve the merge-conflict,
but left me feeling uneasy because I don't really understand what
I'm doing. Can you give a short explanation of the difference
between 'git reset --hard origin' and 'git-checkout origin'?
> An even better option is obviously to figure out _why_ that commit broke
> for you in the first place, and get it fixed up-stream...
I'm still waiting for the insulting email from the developer ;o) How
long should I wait for a response before I start bugging other people?
next prev parent reply other threads:[~2006-01-10 20:43 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-09 22:41 git-bisect is magical walt
2006-01-09 23:38 ` Linus Torvalds
2006-01-10 19:19 ` walt
2006-01-10 19:42 ` Linus Torvalds
2006-01-10 19:45 ` Linus Torvalds
2006-01-10 20:43 ` walt [this message]
2006-01-10 21:17 ` Linus Torvalds
2006-01-11 1:50 ` walt
2006-01-11 2:47 ` Junio C Hamano
2006-01-11 2:58 ` Linus Torvalds
2006-01-11 18:07 ` walt
2006-01-12 21:59 ` Sytse Wielinga
2006-01-12 23:49 ` walt
2006-01-09 23:39 ` Andreas Ericsson
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='dq168p$3kt$1@sea.gmane.org' \
--to=wa1ter@myrealbox.com \
--cc=git@vger.kernel.org \
/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).