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
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
Everytime I am adding a new Repository to Sourcetree, Sourcetree crashes. When I delete the repository again Sourcetree works. So I am not able to add a new repository. Any ideas what I can do?
I faced the same issue and had a lot of trouble finding a fix for it.
- Removing suggested files from application support folder
- Removing application support folder for source tree
- Re-installing the latest version
- Installing a old version
None of the above worked, It was crashing as soon I add my local repo to source tree and try to open it.
I also tried to use another repository and it was working fine, SO I concluded problem is with my local repository, I started deleting files from git folder and finally it resolved the issue.
You need to remove these two files from .git folder:
I would suggest to take the backup of local repo and then try deleting these two files and add the repository again, this time the source tree didn't crash for me.
Hope that works for you !!! :)
Someone suggested this issue might be related to another one a bunch of us are experiencing with crashing on startup. For us the browser.plist and a few other files seem to be the culprit and as long as I don't make bookmarks I'm able to work.
Please see here for discussion of what's happening with crashes:
Yes, it was due to fetching repo avatars. It wouldn't crash only until it tried to fetch again.
This was primarily due to a change deployed by Bitbucket cloud that was reverted in time. Also, we made a release of macOS client to ensure this type of a crash doesn't happen again. Thanks for the understanding and kind cooperation.
You should check to make sure that committing a repo doesn't cause a crash. And also see if you can add bookmarks without a crash.
Because initially when I deleted the entire support folder it appeared to work without crashing but the first commit made it crash. And then any attempt to launch the app after that also resulted in crash.
For me deleting the entire support folder was temporary and incomplete fix but if I tried to add a bookmark it'd crash. Removing the browser.plist file made it work again as long as I don't add any bookmarks.
I'm currently able to commit etc. but I have to make sure not to create bookmarks.