For some reason, I have been seeing the > in the above screenshot disappear and I cannot see my remote branches (they are still there). After a good half hour googling and trying things, I gave up and the > reappeared along with my branches when i did a pull from master!
Does anybody have any idea why source tree seems to lose track of the branches?
1. sourcetree version 3.1.1
i've had this happen twice in the past couple weeks. prior, i never saw the problem. probably has to do with the 3.1.1 from feb....
Nothing has changed on bitbucket side other than new branches added through jira.
Typically, i add branch in jira, open SourceTree, right click on origin, refresh from remote and then scroll to the branch in the list. Obviously, this completely fails if the > is missing and there is effectively nothing under origin!
I got around it by going to command line:
git checkout <branchname>
The new branch is now visible in Sourcetree and i was switched to it. Remote-> origin still has nothing under it!
I prefer to use Sourcetree instead of git command line to avoid the "cheatsheets" for git posted all over my desk.....
More Info. my typical procedure is to create a new branch in Git via Jira. Then i go to Source Tree to switch to the new branch. I right click on origin and do a "fetch from origin" to get a fresh list of branches containing the one i just entered. Otherwise, my branch is typically not in the list.
I noticed this morning that when i did the "fetch from origin", the > immediately disappears. We do have a lot of branches in git so maybe this procedure takes a long time? Perhaps we exceeded some limit of branches recently and this issue is just cropping up now.
As previously mentioned, the > does seem to randomly reappear after some time.