xralf xralf - 1 month ago 5
Git Question

Go to particular revision

I cloned a git repository of a certain project. Can I turn the files to the initial state and when I review the files go to revision 2, 3, 4 ... most recent? I'd like to have an overview of how the project was evolving.

Answer

Use git checkout <sha1> to check out a particular commit.