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

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

2 votes
Answer accepted

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 in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,920 views 10 16
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