You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.