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.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Supported Platforms macOS Windows If you're reading this and it's not just educational… we know you're unhappy right now and apologize for that We're dedicated to improving yo...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs