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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

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 ...

649 views 0 4
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