Create
cancel
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

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

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,122 views 5 13
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