File recovery

I am using SourceTree for Windows. I cloned a remote Git repository to my local drive and I looked to add and commit local files to it.. I moved the new files into the project directory and tried to commit but I hit a few errors when trying to push the files up.

Since I had no luck with SourceTree I was going to use another piece of software for it. In SourceTree I hit remove on the files (since I thought it meant remove them from the commit) and now my files are completely gone. They aren't in the project folder or anywhere on my computer. They are not in the recycle bin. I used two apps for file recovery and they can't find them.

If SourceTree had deleted the files they would have been in the recycle bin. If it had permanently deleted the files then the file recovery programs would have found them. But I have come up empty handed.

SourceTree has eaten the project I spent several days on. It has treated unversioned files as files in the repository and mishandled them.

I need someone to guide me how to recover local files and folders that SourceTree has deleted but weren't in version control.

2 answers

What did you do when you saw the prompt below?

I honestly do not think I saw that prompt when I hit remove during the commit process.

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