العودة إلى القاموس
Git والتحكم بالإصدارات

Gitflow

A branching model for Git that defines a strict branching structure designed around project releases, using dedicated branches for features, releases, and hotfixes.

التعريف

Gitflow, introduced by Vincent Driessen in 2010, uses five branch types: main (production code), develop (integration branch), feature/* (new features), release/* (release preparation), and hotfix/* (production fixes). Features branch from develop, releases branch from develop and merge to both main and develop. While popular, Gitflow is considered heavyweight for continuous delivery — many teams prefer trunk-based development.

لماذا هو مهم

Gitflow provides clear rules for managing releases in projects with scheduled release cycles. However, for teams practicing continuous deployment, simpler models like trunk-based development may be more appropriate. Understanding Gitflow helps when joining teams that use it.

مثال

Following Gitflow, a team branches feature/payment-api from develop, completes work, merges back to develop, then creates release/v2.1.0 for final testing before merging to main and tagging the release.

المصطلحات ذات الصلة

gitflowwhat is gitflowgit flow branchinggitflow workflow

أتمتة مراجعة الكود مع diffray

نظام ذكاء اصطناعي متعدد الوكلاء لمراجعة الكود. يجد الأخطاء والثغرات الأمنية ومشاكل البنية تلقائياً.