Git Flow Setup
Implement the Git Flow branching model for projects with scheduled releases and multiple supported versions. Set up develop, feature, release, hotfix, and main branches with clear workflow rules.
Usage
Ask about setting up Git Flow, managing releases, or handling hotfixes in the Git Flow model.
Examples
- "How do I initialize Git Flow in my repository?"
- "Walk me through creating a release with Git Flow"
- "How do I handle a production hotfix in Git Flow?"
Guidelines
- Use Git Flow for projects with versioned releases and support windows
- Feature branches start from develop, release branches from develop, hotfixes from main
- Keep the develop branch always in a deployable state
- Use the git-flow extension for command shortcuts
- Consider simpler alternatives like GitHub Flow for continuous deployment