git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Turner <dturner@twopensource.com>
To: "Keller, Jacob E" <jacob.e.keller@intel.com>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: revert top most commit
Date: Wed, 27 Aug 2014 18:15:38 -0400	[thread overview]
Message-ID: <1409177738.15185.5.camel@leckie> (raw)
In-Reply-To: <1409174048.2715.12.camel@jekeller-desk1.amr.corp.intel.com>

On Wed, 2014-08-27 at 21:14 +0000, Keller, Jacob E wrote:
> Hi,
> 
> I am having trouble using revert. If I attempt to
> 
> $ git revert <sha1id>
> 
> where sha1id is the same as the HEAD commit, I instead get the output of
> what looks like git status.
> 
> Is there anything specific about git revert that prevents it from
> reverting the most recent commit?

Works for me.  What version of git?  Is there a public repo that someone
could test this out on?

  reply	other threads:[~2014-08-27 22:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-27 21:14 revert top most commit Keller, Jacob E
2014-08-27 22:15 ` David Turner [this message]
2014-08-27 22:43   ` Keller, Jacob E
2014-08-28  0:22     ` Jonathan Nieder
2014-08-28 20:21       ` Keller, Jacob E
2014-08-28 20:27       ` Keller, Jacob E

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=1409177738.15185.5.camel@leckie \
    --to=dturner@twopensource.com \
    --cc=git@vger.kernel.org \
    --cc=jacob.e.keller@intel.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).