DEV Community

Discussion on: When to Use Git Reset, Git Revert & Git Checkout

Collapse
 
narniat profile image
NarniaT

Thank you Nesha. What if I just want to take a look at an earlier state of my repository? What's the standard way to just peek at an earlier version? (I don't want to change anything or fix any mistakes). I know it could be done by checking out to an earlier commit but I hear about the dangerous "detached HEAD" state and I felt doubtful whether I have to use it or not? Thanks in advance.