Branches disappear and then reappear under Remotes
Asked by Jason Thiel:

![image.png](/t5/image/serverpage/image-id/47765i462E3A6BD1721210/image-size/large?v=v2&px=999 "image.png")

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?


Answers:
author: dabernathy89
body: I'm also missing this dropdown, even after restarting sourcetree. I haven't gotten it to reappear yet.

Mac: 10.14.4  
Sourcetree: 3.1.2 (216)  
Remote: Gitlab (hosted)

![Screen Shot 2019-04-29 at 3.35.38 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/52987iFA3CB5F71F01C5C2/image-size/large?v=v2&px=999 "Screen Shot 2019-04-29 at 3.35.38 PM.png")

comments: author: Jason Thiel
body: And Now i'm getting it again.


author: bgannin
body: Hi [@Jason Thiel](/t5/user/viewprofilepage/user-id/1252797),

A few questions:

1. what version are you using?

2. what platform are you on? (Mac or Windows)

3 what is the remote host provider? (Bitbucket, GitHub, GitLab, other)

Our apologies for the hiccup.

Brian Ganninger  
Principal Developer, Sourcetree

comments: author: Jason Thiel
body: 1. sourcetree version 3.1.1

2. mac

3. bitbucket

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!


author: Jason Thiel
body: This happened again today. I created a new branch on bitbucket. I go to Source Tree to pull it down. The orgin under Remotes has no \> and thus i cannot get my branch.

Is there a way to roll back SourceTree to previous version?


author: Jason Thiel
body: 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.....


author: Jason Thiel
body: and now its back. about 15-20 min later, the \> magically appears and i can see my branches. Seems like a timing thing. I did nothing in either bitbucket nor sourctree in the meantime.


author: Jason Thiel
body: 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.


Tags: git