Branching Strategy¶
This repository uses a simple trunk based workflow.
Main Branch¶
The main branch always represents the latest stable code.
All work should be merged back into main through a pull request.
Feature Branches¶
Create a short lived branch for each change.
Format¶
Examples:
feature/log-middleware
feature/view-mixin
fix/blocked-request
fix/infinite-log
refactor/transaction-middleware
docs/development-setup
test/account-signals
chore/django-upgrade
ci/pypi-integration
Use lowercase letters and hyphens (-) between words.
Branch Types¶
feature¶
New functionality.
Examples:
fix¶
Bug fixes.
Examples:
refactor¶
Code restructuring without behavior changes.
Examples:
docs¶
Documentation changes.
Examples:
test¶
Testing related work.
Examples:
ci¶
CI/CD and automation changes.
Examples:
chore¶
Maintenance tasks.
Examples: