Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is support command in git flow

Tags:

git

git-flow

I know what are bugfix, hotfix and feature branches.
But the thing that I can't grasp is support command as git flow support start <version> <branch>

could someone explain this command with a simple scenario?

like image 256
Mehrdad Shokri Avatar asked Jun 17 '16 19:06

Mehrdad Shokri


People also ask

What is git flow with commands?

Git-flow is a wrapper around Git. The git flow init command is an extension of the default git init command and doesn't change anything in your repository other than creating branches for you.

What is hotfix in git?

A Gitflow hotfix branch is only required when a critical bug or security flaw is found in live, publicly facing and globally accessible applications or binaries. The flaw is in a tagged commit on the Git master/main branch, and it has to be addressed immediately.

What is git flow process?

The Gitflow Workflow defines a strict branching model designed around the project release. This workflow doesn't add any new concepts or commands beyond what's required for the Feature Branch Workflow. Instead, it assigns very specific roles to different branches and defines how and when they should interact.


1 Answers

Here's the quoted definition from https://gitversion.net/docs/git-branching-strategies/gitflow-examples

Support branches are not really covered in GitFlow, but are essential if you need to maintain multiple major versions at the same time. You could use support branches for supporting minor releases as well. If you are just supporting the majors, then name your branch support/<major>.x (i.e support/1.x), to support minors use support/<major>.<minor>.x or support/<major>.<minor>.0. (i.e support/1.3.x or support/1.3.0)

The point here is to have a branch which needs to be supported for some time in parallel to develop/master.

like image 140
ikryvorotenko Avatar answered Oct 29 '22 18:10

ikryvorotenko