-
Notifications
You must be signed in to change notification settings - Fork 0
Branching Strategy
señoritami edited this page Mar 8, 2026
·
1 revision
Branches allow work to happen independently from the main codebase.
In practice they are used for:
- new features
- bug fixes
- experiments
- urgent production fixes
A simple and reliable workflow is the feature branch model.
- update the main branch
- create a feature branch
- commit changes
- push the branch
- open a pull request
- merge after review
Example:
git switch main
git pull origin main
git switch -c feature/add-audit-logging