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

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