>>> "S" == SJW  <shannon.whi...@gmail.com> writes:


   > ... lots of changes...  Too many ... Oops! I meant to merge payments... 
   > Wrong branch!

   > So, I googled frantically and found this:  
   > https://mijingo.com/blog/reverting-a-git-merge
   > and based on that, I tried to revert:

   > $ git revert HEAD


That is very interesting. I am a regular mercurial user, but sometimes
have to deal with git repositories.

In mercurial 

hg strip -r 2fccd4c

Works without problems.

According to the Rosetta stone it should be in git 

 git reset --hard 2fccd4c^ (on a normal repository)            
 git reset --soft 2fccd4c^ (on a bare repository)              

 did you try that out?

Uwe Brauer 

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/87sgdhwawy.fsf%40mat.ucm.es.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to