Re: revert top most commit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]