Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Christian Lange July 22, 2019
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
Atlassian Team members are employees working across the company in a wide variety of roles.
July 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

Christian Lange July 24, 2019

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
Atlassian Team members are employees working across the company in a wide variety of roles.
July 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
AUG Leaders

Atlassian Community Events