Home / Market / gitflow

gitflow

Gitflow Workflow Rules. These rules should be applied when performing git operations.

cursor-rule★ 412080 dlgithubCC0-1.0Install in CosmosUpstream Source

Documentation & Preview

--- description: Gitflow Workflow Rules. These rules should be applied when performing git operations. globs: ["**/*"] alwaysApply: false

---

Gitflow Workflow Rules

Main Branches

main (or master)

develop

Supporting Branches

feature/*

release/*

hotfix/*

Commit Messages

Version Control

Semantic Versioning

Pull Request Rules

  1. All changes must go through Pull Requests
  2. Required approvals: minimum 1
  3. CI checks must pass
  4. No direct commits to protected branches (main, develop)
  5. Branch must be up to date before merging
  6. Delete branch after merge

Branch Protection Rules

main & develop

Release Process

  1. Create release branch from develop
  2. Bump version numbers
  3. Fix any release-specific issues
  4. Create PR to main
  5. After merge to main:

Hotfix Process

  1. Create hotfix branch from main
  2. Fix the issue
  3. Bump patch version
  4. Create PR to main
  5. After merge to main: