nvie / gitflow

Git extensions to provide high-level repository operations for Vincent Driessen's branching model.
http://nvie.com/posts/a-successful-git-branching-model/
Other
26.63k stars 2.66k forks source link

Set default branch for everything to "develop" #392

Closed bart closed 9 years ago

bart commented 9 years ago

Hi everybody,

I have a short question. We are using a small adaption of gitflow, where everything will be branched from the develop branch, which means feature, bugfixes, releases and so far.

Is that possible?

superole commented 9 years ago

I'm not sure if you can set it as a default, since it kind of breaks the model, but you can define a different-from-default base for all the git flow branch types from the commandline e.g.: git flow hotfix start 3.2.1 develop I have never tested this though, and I fail to see any gain from this approach, but I don't judge you for trying something different. Feature and Release branches are already based on develop if you accepted the default value for "next release" development branch during init.

bart commented 9 years ago

In the meantime we decided to build and push the branches manually, thanks so far!