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

Using Git flow in team environment - init git flow locally on every machine? Edited

Our team members share a Bitbucket repository. We initialized git flow via source tree on one members machine and do use the provided features locally and remotely. But on other members machines pressing the git flow button results in the default dialog for initializing git flow. I expected sourcetree to be aware that this step has already been done for the repo and instead show the options for creating/finishing release, features and such. Do I need to init git flow on every machine? And are there any caveats I should be aware of?

1 answer

0 votes
bgannin Atlassian Team Jul 23, 2019

Hi @Christian Lange,

A few questions:

1. Was the configuration change after init'ing pushed to the remote repository and then pulled by the other users?

2. What version are you using and on what OS?

Brian Ganninger
Principal Developer, Sourcetree

Hi @bgannin,

 

1) (Hope I understand your question - I'm not a native speaker) The repository was initially created without any git-flow functionality. We tried to switch to git flow much later. Members regularly pull from the remote repo.

 

2)  Windows 10 Enterprise, Sourcetree 3.1.3

bgannin Atlassian Team Jul 30, 2019

Hi @Christian Lange,

Once you run init git-flow the attributes are written to the config for the repository in /.git/config and that this file is shared and not an ignored file. Hope that helps a bit.

Brian

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