How to do 'git flow feature publish' from SourceTree?

Hi all,

I'm really pleased to see that SourceTree has Git Flow support, because otherwise Git Flow is painful to configure/use on Windows. However, I don't see how to publish a feature back to origin (appologies if I'm being loose wth terminology here) so that other members of my team can access it.

I learned Git Flow from this guide which describes the following command:

git flow feature publish

If you want to share this feature branch with some of you team mates so you can do some collaborative development then you would use to this sub-command to publish this feature up to your centralized Repository for your team to grab. ... The format for this command is:

git flow feature publish [featureName]

How do I do this through SourceTree? The 'Git Flow' button offers me the option to 'Finish Feature' (and a few others) but no 'Publish Feaure'? Am I simply supposed to push? I was concerned it might be more complex than that and don't want to get my repository into a bad state.

1 answer

1 accepted

This widget could not be displayed.

I can't see any difference between "flow feature publish" and "push".

Thanks, I tried just pushing and it seemed to work... at least I now see the feature in Bitbucket. I'll try picking it up from another machine tomorrow.

Ok, it seems to work ok. Guess I was just overthinking this issue.

Hello David,

Thank for the tips, but...

Then .. finally what command do we have to execute? .. Which one is correct?
git flow feature publish MYFEATURE or git push origin feature / MYFEATURE

Hi, I'm sorry but I'm not using 'git flow' anymore so I don't really remember what I did! It was with an old version of SourceTree anyway.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Teamwork

The tools we make for teams? We use them every day at Atlassian to get shit done (and it works).

I’m Jess, a Product Marketer for Jira Software Server and Data Center, and now a huge fan of our products. Read on for a 90 day, new-hire perspective on what it’s like to standardize on the Atlassian...

43 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you