Lost staged files

Yesterday, after a hard working - and satisfying - day, I was about to commit all my shit. But in the end I decided to leave it there and commit today. So I staged all my modifications. In the end, without I could tell why, SourceTree seemed to refuse to stage my last file, and seemed to hang...

This morning, I cannot find any of my earlier staged files. Neither in SourceTree nor in the directories on my hard drive ! All my modifications just vanished...

I'm using SourceTree 1.6.22 for a few days now, and I'm seriously considering to throw it away plain and simple. Has anyone any explanation for the fuck that happened to me, and if so, where are my modifications ???

I am a developper since quite some time and have been successfully working for years with CVS, SVN, HG, and GIT. Never had such a terrible experience with any source controlling program...

 

Best regards though

1 answer

I've never heard of that sort of behavior happening with SourceTree. The fact that modifications are missing from your working copy doesn't really make sense - staging shouldn't effect your working copy at all, just the Git index. I'm not doubting your account, just baffled as to what could have possibly gone wrong - SourceTree doesn't interact with your files except as a GUI wrapper for git commands.

1.6.22 - sounds like you are on Windows. Do you by chance have the feature turned on where Windows saves versions of files? If so, that might help recover your work.

Suggest an answer

Log in or Join to answer
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 ...

233 views 0 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot