I decided to do an Update of my project, in Xamarin Studio, before committing four days of work to a remote GIT repository.
In other IDEs I've used in the past, such as Eclipse with CVS, an update would bring down modified files and tell me about any conflicts with stuff I've changed, allowing me to merge any changes before then doing a commit.
Unfortunately an Update with Xamarin Studio completely overwrote everything in my project, with the codebase from four days ago. Not only that but it deleted every new file I'd created. So I've also lost new screens, new controllers, interfaces, etc, etc.
Does anyone know the logic behind this, was it a bug or is that the expected behaviour?
And does anyone know what happened to my deleted files, do they exist somewhere?
I've downloaded a file recovery program that's so far reporting almost 3000 unnamed .cs files as recoverable, it's gonna be an absolute nightmare opening them all and narrowing down the files.
In hindsight I should have committed the files locally before doing an update from remote, so at least I had a local backup, but not for a second did I believe something as simple as an update was gonna overwrite everything and delete new files, at least without checking with me first.
Thanks in advance.