(Assuming you right-clicked on a file and selected the "Stop tracking" option.)
This command stages a change that deletes the file (line with a red minus in the beginning in the pending changes), but leaves the file intact on your disk (it shows as an untracked file):
You can undo this by right-clicking on the line with the red minus and selecting "Discard".
EDIT: once this deletion is committed, this is how to undo it:
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