Possible Duplicate:
How do you roll back (reset) a git repository to a particular commit?
I have the following revisions in order r1, r2, r3, r4, r5 in origin/master
.
- How do I revert the entire code base to a previous snapshot in a certain branch (say
r3
) - If I do [1], will subsequent commits say
r4', r5'
be on top ofr3
and we will not have any reference tor4, r5
in the code base.