I'm doing some test, and I created a local repos to version some files. I would like to restore all my files to their state at a previous commit.
Is it possible ? I know that git checkout file restore a file to the current commit state. However I'm not sure if git checkout * do the same for all file, and even more here I'm not sure if it's possible to restore from more than just the latest commit.