If you never committed the changes, then SourceTree / git aren't going to be able to help you. You'd have to try to use an operating system level solution, as Seth has suggested. SourceTree shouldn't have let you revert a file and override uncommitted changes, though, at least not without an additional dialog box warning you of what you were about to do.
Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot