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

SourceTree remove remote branches options on push Edited

When I push a branch all the previous remotes I've pushed to show up, as if I would want to push my branch to all these remotes. How do I remove all of these options except for the one I want?

 

I've tried leaving the `-` sign, removing it, adding and removing the checkmarks. When I reopen this panel, all of these options are still there. How do I get it down to a single remote? And have it not remember all the previous remotes here?

 Screen Shot 2018-06-20 at 1.06.51 PM.png

SourceTree remove remote branches options on push 

1 answer

0 votes
Manju Atlassian Team Jun 05, 2018

Are these local branches that haven't been pushed to remote? Or branches that are tracked but have local commits that need to upstream?

They are local branches, with their own remotes, with no current un-pushed local changes. Both local and remotes are still in use so I don't want to delete them.

If try and push from say develop to its remote, the prompt from the photo appears, with the remotes to all those other branches. 

I have already accidentally push a branch to the wrong remote because of this

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,902 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