I was committing a change on the main repo (which contains a few submodules) and was typing up the commit message. I decided that I wanted to change my message, and used the CMD+delete to clear the line, but that key combination does something else in Sourcetree. I often make this mistake, but its usually benign (just throws a prompt asking if want to back out of committing). However, in this case, it threw a couple of warning messages, and deleted my submodule (I now had a change in .gitmodules showing the submodule was deleted, and the actual submodule folder removed). At this point I have now lost a whole days worth of work.
Luckily after some searching, I was able to recover 90% of my work from PyCharm's local history, but not before I nearly had a panic attack.
Sourcetree usually crashes on my about once every day or 2, which I think may be memory issues, but never anything like this. I unfortunately do not have the error messages that popped up, nor did I choose to send the error report, so there isn't really much I can contribute to the actual error that occurred, other than it crashed after hitting CMD+delete in the commit message text box.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events