git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <bonzini@gnu.org>
To: "Dirk Süsserott" <newsletter@dirk.my1.cc>
Cc: Marcus <prima@wordit.com>, git@vger.kernel.org
Subject: Re: Reverting to old commit
Date: Tue, 27 May 2008 22:17:08 +0200	[thread overview]
Message-ID: <483C6C44.1010304@gnu.org> (raw)
In-Reply-To: <483C68E5.1040408@dirk.my1.cc>


> Then gitk's "reset ... branch to here" could help you. Right-click
> the desired commit and reset the branch.

DON'T do this though if you have published the branch somewhere.

Do "git-revert -n" on all the commits after the buggy one in that case, 
starting from the last, then "git commit".

Paolo

  reply	other threads:[~2008-05-27 20:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-27 17:50 Reverting to old commit Marcus
2008-05-27 18:09 ` Jakub Narebski
2008-05-27 20:43   ` Brandon Casey
2008-05-27 23:00     ` Sverre Rabbelier
2008-05-27 19:32 ` Sverre Rabbelier
2008-05-27 20:02 ` Dirk Süsserott
2008-05-27 20:17   ` Paolo Bonzini [this message]
2008-05-27 20:41 ` Robin Rosenberg

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=483C6C44.1010304@gnu.org \
    --to=bonzini@gnu.org \
    --cc=git@vger.kernel.org \
    --cc=newsletter@dirk.my1.cc \
    --cc=prima@wordit.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).