Git Flow
Last updated
Was this helpful?
Last updated
Was this helpful?
Created by Tung Nguyen (Frontend Specialist) from Technical Division at 2021 Feb
This model was conceived in 2010, now more than 10 years ago, and not very long after Git itself came into being. In those 10 years, git-flow (the branching model) has become hugely popular in many software teams to the point where people have started treating it like a standard of sorts. (Vincent Driessen, author of Git-flow)
License: Creative Commons BY-SA
The overall flow of Git-flow:
There are two main branches with an infinite lifetime:
develop: for the development team to work on features/bugs fix/making releases
master: for production release, shipping product & deliver to the customer
The different types of branches we may use are:
Feature branches: created only from develop branch, for the development team to work on features, bug fixes
Release branches: created only from develop branch, for testing and preparing to release group of finished features, bug fixes (if any) here should be merged back into develop & master branch
Hotfix branches: created only from the master branch, for fixing small bugs on production, bug fixes (if any) here should be merged back into develop branch
Author: Vincent Driessen Original blog post:
Original documentation (Vincent Driessen):