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

Thanks!

0 answers

Suggest an answer

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

GitHub Script with GitHub Actions Automating Workflows

Hello folks, This is a series of articles where I explain GitHub Script with GitHub Actions and how you can automate publishing data on Atlassian & GitHub Platform based on the results of Workf...

119 views 1 2
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