It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Branches disappear and then reappear under Remotes

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?

 

 

2 answers

0 votes
bgannin Atlassian Team Mar 05, 2019

Hi @Jason Thiel,

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

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!

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?

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.....

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.

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.

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

And Now i'm getting it again.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,999 views 0 12
Read article

Community Events

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

Events near you