Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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
AUG Leaders

Atlassian Community Events