{"thread":{"id":"58136","subject":"Local Folder was overwritten by old repository due to reset command","startedAt":"2022-07-11T19:08:12Z","lastAt":"2022-07-11T19:08:12Z","messageCount":1,"participants":["Gerriko io"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"458809","messageId":"CALF=2ANR8PBSU3h_RjakdG6Sh3iUyM6CM8QsxzMMhwtLuAWJqw@mail.gmail.com","threadId":"58136","inReplyTo":null,"subject":"Local Folder was overwritten by old repository due to reset command","fromName":"Gerriko io","fromEmail":"gerriko.iot@gmail.com","sentAt":"2022-07-11T19:07:56Z","receivedAt":"2022-07-11T19:08:12Z","isPatch":false,"sender":{"key":"gerriko.iot@gmail.com","avatar":null},"body":"It is not everyday you find all your work gone and there's no way of\nrestoring the work locally.\n\nI am quite dumbfounded as to what has just happened as I was working\nwith git to try and push changes to GitHub. In the process I was\nhaving some difficulties while learning and was trying out a few\nthings including reset command. The problem is that when working in\nthe Linux terminal you are unaware of the changes made to folders and\nfiles.\n\nWith this reset command there were no warnings of any overwrites and\nthe deleted files are not even in my Linux Rubbish bin.\n\nHow is this possible - this bypasses all the most fundamental rules of\na computer OS!\n\nSurely there are ways to avoid this especially as default behaviour. I\ncan assume with flags you might be able but as default there needs\nflashing lights for noobs.\n\nBR\n\nColin.\n"}]}