This article deals with a model of work with Git branches called git-flow. It was introduced by Vincent Driessen in his article “A successful Git branching model” and is used in different variations. The general scheme of the model is as follows:
Let’s сonsider the scheme in detail.
To make the work with this model easier a handy set of extensions was created (it is available for free here). You also can install it simply by entering the following command in the terminal:
apt-get install git-flow
We will use this set in our examples.
First, we need to create an empty repository. This can be done by typing the following command:
git flow init