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.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...
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