Re: revert top most commit
- From
Keller, Jacob E <jacob.e.keller@intel.com>
- Date
- Aug 27, 2014, 22:43 UTC
- Message-ID
- <1409179401.2715.17.camel@jekeller-desk1.amr.corp.intel.com>
- In-Reply-To
- <1409177738.15185.5.camel@leckie>
On Wed, 2014-08-27 at 18:15 -0400, David Turner wrote:
Show 16 quoted lines
> 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? >
It was version 1.9.3 and it's not a public repo.
It's actually not my repository, I was helping a co-worker, and thought I'd ask if anyone here knew if it was expected behavior or not.
Thanks, Jake