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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

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

551 views 1 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