Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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
TAGS
Community showcase
Published in DevOps

Step up your DevOps game webinar Q&A series - Questions answered!

  On October 21st, 2020 we hosted a webinar titled,   Step Up You DevOps Game with 4 Key Integrations for Jira and Bitbucket. We had a great showing and high engagement, but that meant th...

117 views 0 1
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