Reseting the repo to a commit