Git Gitlab Flow
Contents
GitLab Flow is a set of best practices for using Git with GitLab, combining elements of Git Flow and GitHub Flow to support various workflows. It emphasizes the use of feature branches for development, with integration to GitLab’s CI/CD pipeline for continuous testing and deployment.
Production Branch
flowchart TB a-->b-->c-->d-->e f-->g c--deployment-->g g-->h a[development] b[development] c[development] d[development] e[development] f[production] g[production] h[production]
Environtment Branches
flowchart LR a-->b-->c-->d e-->f-->g-->h i-->j-->k a--deploy to\npre-prod-->e c--deploy to\npre-prod-->g e--production\ndeployment-->j a[staging] b[staging] c[staging] d[staging] e[pre-prod] f[pre-prod] g[pre-prod] h[pre-prod] i[production] j[production] k[production]flowchart LR a-->b-->c-->d e-->f-->g-->h i-->j-->k a--deploy to\npre-prod-->e c--deploy to\npre-prod-->g e--production\ndeployment-->j a[staging] b[staging] c[staging] d[staging] e[pre-prod] f[pre-prod] g[pre-prod] h[pre-prod] i[production] j[production] k[production]
Release Branches
flowchart LR a-->b-->c-->d-->e a-->f-->g c-.-chery-pick-.->g d-->i a[main] b[main] c[main] d[main] e[main] f[2.3-stable] g[2.3-stable] i[2.4-stable]flowchart LR a-->b-->c-->d-->e a-->f-->g c-.-chery-pick-.->g d-->i a[main] b[main] c[main] d[main] e[main] f[2.3-stable] g[2.3-stable] i[2.4-stable]