I have my project on a git repository and so far I'm not finding it terribly useful. I've used git before and think it's great, but this time I'm using a local repo. I figured that there would be some way of restoring files to a previous commit, or even the entire project but I can't find this option?
Is there a way of doing this? Or do I have to create a branch in advance. Because that seems like you have to know in advance that something us going to go wrong.
Also I can't find an option to discard all local changes across my project, effectively reverting to my last commit.