dev
branch is created frommain
- A release branch is created from
dev
just before release (e.g.release-0.4.2
) - Feature branches are created from
dev
- When a feature is complete it is merged into the
dev
branch - When the release branch is done it is merged into
main
anddev
- If an issue in
main
is detected a hotfix branch is created frommain
- Once the hotfix is complete it is merged to both
dev
andmain
❌ Bad | ✅ Good |
---|---|
patch-002 |
fix-logout-crash |
build-for-testing-lite-theme |
test-light-theme |
- Feature branch (adding, improving, refactoring, or removing a feature):
add-
improve-
remove-
- Bug fix branch (regular bug fixes):
fix-
- Hotfix branch (hotfixes based on
main
branch):hotfix-
- Release branch:
release-RELEASE.VERSION.NUMBER
(e.g.release-0.4.2
)
- Sync branch (for resolving merging conflicts between release and dev branch after merging it to main):
sync-
- Test branch (testing, temp branches, etc):
test-
❌ Bad | ✅ Good |
---|---|
sync/my-branch->dev |
sync-my-branch-dev |
❌ Bad | ✅ Good |
---|---|
add_green_button |
add-green-button |
❌ Bad | ✅ Good |
---|---|
dropdown-item-0.4.2 |
release-0.4.3 |
wasm-3f70b911b-demo |
test-wasm-api |
issue-514 |
improve-table-format |