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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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
Published in DevOps

Step up your DevOps game webinar Q&A series - Questions answered!

  On October 21st, 2020 we hosted a webinar titled,   Step Up You DevOps Game with 4 Key Integrations for Jira and Bitbucket. We had a great showing and high engagement, but that meant th...

95 views 0 1
Read article

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