To go back to a previous state of your project code that you committed, you can use the following command:
git checkout <commit-hash>
To go back to the latest commit (the newest version of our project code), you can type this command:
git checkout master
by Luka Tatarishvili
4 years ago
Git
commands
0
Pro tip: use ```triple backticks around text``` to write in code fences