Where are my deleted files?

I set up an repository. After an initial commit I noticed an error. So I thought it was the easiest just to delete the whole repository and set it up again one more time... I deleted the repo on bitbucket, then proceeded to delete the local repository in sourcetree. However I (dumb as sh't) thought it would only delete the repository entry in sourcetree and NOT my whole file structure! It's not in the recycle bin! Please don't tell me Sourcetree just deleted days and days of work and I can't revert it! sadsadsadsad

1 answer

When you deleted the repository, SourceTree asks whether you want to delete the bookmark or the entire repository. 

image2016-11-16 13:11:4.png

If you clicked "Delete Repositories on Disk", then SourceTree deleted them. I am very confident that it did not use the Recycle Bin. In my experience, most applications bypass the recycle bin if they delete files, so that's fairly typical, even though it may not be optimal.

You might try to download and run a disk recovery tool to see if you can recover your deleted files. A google search for "recover deleted files" is a good starting point for that. The sooner you do so, the more likely you are to succesfully recover your data.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,226 views 4 2
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you