Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 4 months ago.
Didn't commit, updated libraries, lost code
I wasn't thinking clearly and updated one of my projects, which over wrote my working copy of code and some libraries that I had spent lots of time editing (and never committed or pushed).
The code was saved/compiled on the mbed compiler many times, so I am hoping it is accessible on the backend somehow. Is there any hope for my lost code?
Thanks
1 Answer
9 years, 4 months ago.
I see you've emailed the support address, I'll contact you through that.
Thanks so much for your help.
FYI anyone else who loses code due to not committing - mbed support can restore your lost code!
posted by 15 Jul 2015In certain circumstances. It's a safer bet to make regular use of the source control system.
posted by 16 Jul 2015Agreed! Something that might be useful for boneheads like me: allow to commit or stash before updating (pulling) libraries, but never allow a destructive update without prior explicit user request (similar to git reset - - hard; I think this is ultimately how I got myself into this situation to begin with). Thanks again.
posted by 16 Jul 2015Assigned to
9 years, 4 months ago.This means that the question has been accepted and is being worked on.