I don't get how to revert changes I made. My project stopped working so I want to go back to yesterday's version. I found yesterday's commit in the history and tried both 'checkout' and 'reset master to this commit', but it seemed to leave the files I made today and it still shows unsaved changes. Is that the way it's supposed to work? How do I just make it ERASE everything I have now and reload the project from yesterday?
Hello! You should be able to do this by clicking "Discard" and selecting "Reset All". That should remove all pending file changes assuming you have not commited anything on your current branch.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.