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

git-flow fetch before performing finish

I'm currently exploring using git flow for our team to uniformize our flows inside SourceTree.

One question/issue remains, though. As features emerge and get integrated in the develop branch elsewhere, a developper who has just finished a feature (using git flow feature finish) will have, at that point, a develop branch that is older than what is on origin.

Finishing the feature at that point will make the local develop branch different from origin's past, which can confuse some users in our team.

What I would like is, when finishing a feature through git-flow inside Sourcetree, that it would first synchronize its local develop branch with what's on origin, THEN finish the feature (i.e. merge the feature back onto local develop.)

There is a parameter, git flow feature finish -F which "fetch[es] from $ORIGIN before performing finish". Would that be the option I need? How would I use it with SourceTree? (Or does git-flow perform this at all?)

Thanks for your time.

1 answer

0 votes
bgannin Atlassian Team Oct 09, 2017

We don't offer that option or expose a way to add it directly within the UI. You could create a custom action to do that though, I suspect. Please file a ticket for us to track the improvement: https://jira.atlassian.com/browse/SRCTREE (macOS) or https://jira.atlassian.com/browse/SRCTREEWIN (Windows). 

Cheers,

Brian Ganninger
Senior Mac Developer, Sourcetree

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