I just noticed today that my UI in Sourcetree seems to be broken, but I can't seem to narrow down why.
I usually name my branches `andy/branch-name...` and sourcetree is very good at nicely organizing them into sub-folders. Today though, I noticed that my folder no longer had an expanding arrow, even though all the local branches still exist and work fine when I use the git command line. They are even accessible through the commit log in Sourcetree.
Sorry for the highly obfuscated screen capture, but what you are seeing is the left pane of source tree. The long list of branches on the right is from the branch selector at the top of the graph display showing all local branches.
I have tried the instructions to wipe my sourcetree config to the defaults (by removing all the files within the `Application Support/Sourcetree` folder. I have also tried removing and re-installing Sourcetree without any luck.
Guess I am back to using the command line!
Apparently I was able to jig it back into place by creating a new branch within the folder based off an existing branch in the folder.
This seems to have made the sidebar folder expandable again and have it have the right content in it.
I've just had the same thing happen all of my "feature/" branches have disappeared locally, but still working remotely. Restarting Sourcetree doesn't solve it, neither does creating a new branch from the current branch (which is a feature/ branch).
Any ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Andy Chute's suggestion worked for me.
However, when I then immediately deleted the branch the issue returned like before. Additionally, deleting any other branch also seems to trigger the loss of all branches from view.
The only possible specific cause that I can think of is that I believe that the issue first happened when I deleted the top branch in the whole list, so perhaps there is a zero-index bug.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Somewhat related, the branch list disappears when there are more than about 300 local branches. Maybe large subfolders suffer from a similar issue.
A workaround is to filter branch names on something like "-", "_" or " " that appears in the name of relevant branch(es), then View->Filter in Sidebar.
I opened a bug report and included git commands to help with deleting local branches:
Also see my comments at:
https://stackoverflow.com/questions/48121348/sourcetree-some-local-branches-disappeared
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.