Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,366,310
Community Members
 
Community Events
168
Community Groups

multiple remotes and git-flow

I tried setting up a fancy way of using gitf-low:

have develop, feature and release on our development remote (lets call it origin)

and have hotfix and master on our Azure remote

Obviously, I can't have master from A and B, so I made local branches origin/master and azure/master. But now whenever I want to push something, it takes azure. Not only that, but in my overview for pushing it doesn't automatically pick up which branch to push to on the remote.

When I select the branch that I'm currently on, it will auto fill azure/master on the remote. But that doesn't make sense! because then I will have azure/azureTest/master on my remote....I screwed it up a few times already, so now my azure remote looks like this:

git-flow-remotes.PNG

 

1 answer

0 votes
minnsey Atlassian Team Feb 07, 2019

Hi

Firstly its probably worth saying Sourcetree wasn't designed for that workflow and we've not tested it so I can believe it is making some assumptions that are too simplistic for your approach.

I'm not sure if any of this will help.

When you push, if you use the Toolbar push, cannot you not select your preferred remote then?

As for the naming of the remote branch when you use the push dialog cann you not edit the remote branch name?

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events