Git: How to revert everything exactly to the state of a prior commit?

Posted by williamjones on Stack Overflow See other posts from Stack Overflow or by williamjones
Published on 2010-03-08T04:42:17Z Indexed on 2010/03/08 4:51 UTC
Read the original article Hit count: 237

Filed under:
|

If there have been commits and many changes since an earlier commit, is there a simple way to revert everything to the exact state of that earlier commit?

If so, is it possible to easily switch back to the current state if I should so desire as well?

© Stack Overflow or respective owner

Related posts about git

Related posts about revert