revert top most commit
- From
Keller, Jacob E <jacob.e.keller@intel.com>
- Date
- Aug 27, 2014, 21:14 UTC
- Message-ID
- <1409174048.2715.12.camel@jekeller-desk1.amr.corp.intel.com>
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?
Thanks, Jake