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

Remote Branches Appear in Sourcetree but Not Browser Interface Edited

I have read over many posts discussing branches that continue to show in Sourcetree even though they have been deleted from the repository. I understand that this is by design and with intention so as to be non-destructive.

I performed a fetch with prune using Sourctree and that cleaned up my local repositories. The local repo is an accurate reflection of the remote (as seen in the browser interface)

I believe that I am experiencing something similar, yet different. I am using Sourcetree v3.2

If we view the Browser interface, I see four branches in the repo that properly reflect our project.  In Sourcetree, the local repo is an accurate reflection of the remote as compared to the Browser UI.

In Sourcetree, I see seven remote branches, three of which don't exist.

If I issue a git command, I also see seven remote branches, three of which don't exist.

git branch -r

I cloned the repository on a different computer, and the clone creates 7 branches, including the three that don't exist.

My question is...  What is the source of the references to these old branches, if they don't exist in the remote repository and they get cloned to a clean computer when they seemingly don't exist on the remote?

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Feedback & Announcements

Atlassian Authors Awards

We created the Atlassian Authors program in 2019 to give more Community members the permissions to write Articles, along with the inspiration and tools to help them succeed. Since then, the program...

299 views 13 17
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