I have tried re-installing it thrice in the past week. It works fine after the installation but after I close the app and try to open it again then it never opens up.
Hi @Aayush Chachan ,
I had the same problem in the past and it was caused by user.config file.
Try to delete C:\Users\<username>\AppData\Local\Atlassian\SourceTree.exe<random_string>\<version_number>\user.config file and restart SourceTree.
Hope this helps,
Hi @Aayush Chachan ,
try to perform a new clean installation. The steps are as follows:
Let me know if it helped.
Sourcetree.log file data:
2021-11-29T20:07:30: LogHost: Initializing to normal mode
ERROR [2021-11-29 20:08:41,107]  [SourceTree.Notifications.NotificationsManager] [Log] - Unable to set owner as parent is not visible or non-existent
I observed one more file: "<some_string>sourcetree.log" which get created every time I try to open sourcetree app.
The content of that file is like:
2021-11-29T20:20:46: LogHost: Initializing to normal mode
2021-11-29T20:20:48: LogHost: SuppressChangeNotifications was called (perhaps via AddRange), yet you do not
2021-11-29T20:20:48: LogHost: have a subscription to ShouldReset. This probably isn't what you want, as ItemsAdded
2021-11-29T20:20:48: LogHost: and friends will appear to 'miss' items
2021-11-29T20:20:48: Could not obtain git dir, is not a git repo.
Based on this thread https://community.atlassian.com/t5/Sourcetree-questions/Can-t-add-repo-Unable-to-set-owner-as-parent-is-not-visible-or/qaq-p/797199 it seems that there's a corrupted file in your repo
Try that approach.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
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