Skip to content
Home Tutorials Roadmaps Courses
Log in Join free
Tutorials Git Git Flow
Git Beginner FREE

Git Flow

Lesson 1 of 17 Beginner Interactive

Git Flow is a branching model with dedicated branches for features, releases, and hotfixes.

Syntax

GIT
main       ← production
  develop  ← integration
    feature/login
    feature/dashboard
  release/v1.0
  hotfix/critical-bug
Git Flow Workflow
BASH
# Git Flow branches:
# main - production
# develop - development
# feature/* - new features
# release/* - release prep
# hotfix/* - production fixes

# Start a feature
git flow feature start user-auth

# Finish feature (merges to develop)
git flow feature finish user-auth

# Start a release
git flow release start 1.0.0

# Finish release (merges to main + develop)
git flow release finish 1.0.0