You have


and you want


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.


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
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to