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

Define Different Pull and Push Remotes for Subtrees



Sourcetree defines one remote for a subtree. In my case, I have an origin repo, which is forked from an upstream repo. I generated the subtree from the origin and this is the remote address that Sourcetree uses for the subtree -for both push and pull.

However, once in a while I would like to pull from the upstream to update my subtree with changes from other users. This requires the upstream remote address be defined as a second address, which is different than the origin address obviously.

Is there a way to define a second remote address for the subtree with Sourcetree so that I can pull and push from different addresses?

Quick fix ofcourse manually change the address when doing pull and push, which is not very convenient.


1 answer

0 votes
minnsey Atlassian Team Mar 19, 2019


No I'm afraid Sourcetree doesn't support multiple remotes for Subtrees. Looking at it looks like there is no obvious blocker to supporting it in the future.

You can raise a feature request at under the SourcetreeWin or Sourcetree projects.

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,261 views 5 14
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