Git: How to revert everything exactly to the state of a prior commit?
- by williamjones
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?