You have

A--B

and you want

A--B--C

where the state of C is identical to the state of A, correct?  Then
you should run:

git revert B

The commit(s) you pass to `git revert' are the commits you want to
undo, not the state that you want to roll back to.

-PJ

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to