This is more of a bug report than anything, unless of course there is a way to retrieve my lost code.
I had about 30 files to commit. Some were existing files that I had changed, others were new files.
I switched Commit Mode to "Selected Files" then noticed that I had some PSD's that I did not desire to commit.
I did a search for PSD and narrowed the list down to two.
I right clicked the first PSD and selected REMOVE.
I right clicked the second PSD and selected REMOVE.
At this point, my list refreshed and I noticed that one of my files "DeviceManager.cs" was marked as having been deleted. Upon investigating further, it appears that Atlassian deleted the file in response to me removing one of the PSDs above.
I of course Discarded the delete, but as a result, my file along with all changes I had made were lost. Can I get them back? I'm guessing no... in any case, this is a pretty nasty bug that should be looked at. Hopefully what I listed out is enough to find and fix the thing.
This was using version 0.9.1.0
I'm very sorry about this, it sounds like a selection bug. I'll try to reproduce it - I assume that DeviceManager.cs was modified and the PSDs were untracked? Can you recall where they were in relation to one another in the list? It may not be specific to these issues but I want to make sure I nail it.
In answer to whether you can get the changes back, if they were uncommitted changes then I'm afraid not. You should have had a confirmation message about unrecoverable changes, but I expect that you assumed, understandably, that it was in relation to the PSD (it's the same message for untracked files). Again, sincere apologies for this.
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...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG