It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Sourcetree crashed and I lost all uncommitted code on a submodule

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.

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Off-topic

Do you still play the same games you played when you were a kid?

Months ago, I was walking in a huge grocery store and I went to the toys aisle and found a jigsaw puzzle that was more than 50% off, and I thought "why not? It will be fun and it can be a beautiful f...

315 views 35 12
Join discussion

Community Events

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

Events near you