git flow stores the settings in the config file in the .git folder. This file isn't committed to source control. Therefore you must git flow init
on each clone. Because of this I tend to not deviate from the proposed branch names ... since someone is bound to forget as they clone something and screw it up. :D
Could you store the settings elsewhere? A few thoughts come to mind:
Rewrite git flow to store the settings inside a
.gitflowconfig
or similar -- good luck with that.Put the gitflow settings inside the global config at ~/.gitconfig. It's not "once and done" but it is "once per user".
Because git flow is just a naming convention for branches, you need not "setup" git flow to use it, you just need to perform the steps it does. (e.g. git flow release finish merges to
master
and todevelop
.)