Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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 still shows added secondary remote repos after they have been removed

All at command line, I added a 2nd repo to cherry pick one of its commits:

git remote add source <url>

git fetch source

git cherry-pick <SHA>

After I was done I noticed that the remote branches appeared in Sourcetree as branches "source/master" and "source/develop"

So I went to remove these sources from the repo.

git remote -v

showed my origin sources plus the other ones.

git remote rm source

seemed to work correctly because 

git remote -v

only shows my origin sources now.

But back in Sourcetree my external "source" branches are still there, in fact showing some new commits on those branches.

How can I get rid of these showing up in Sourcetree? I even did a fetch in Sourcetree but to no avail.


0 answers

Suggest an answer

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

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,071 views 5 13
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