dev
branch is created frommaster
- 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
master
anddev
- If an issue in
master
is detected a hotfix branch is created frommaster
- Once the hotfix is complete it is merged to both
dev
andmaster
❌ Bad | ✅ Good |
---|---|
patch-002 |
fix-logout-crash |
build-for-ios-macos-universal_html |
test-universal-html |
- Feature branch (adding, improving, refactoring, or removing a feature):
add-
improve-
remove-
- Bug fix branch (regular bug fixes):
fix-
- Hotfix branch (hotfixes based on
master
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 master):
sync-
- Test branch (testing, temp branches, etc):
test-
3. Avoid special characters (/
, >
, https://github.com/KomodoPlatform/komodowallet/issues/907)
❌ Bad | ✅ Good |
---|---|
sync/0.4.2->dev |
sync-0.4.2-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-seed-import |