This repository was archived by the owner on Apr 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Git flow
Khiem Ton That edited this page Feb 1, 2024
·
1 revision

- Task type
- Bug type
- Naming follows the ticket name on Jira.
- Example ticket names:
- WW-46
- WW-45
- Example ticket names:
Pattern: {feat || fix}[{ticket name}]: {message}
-
Example for ticket task:
feat[WW-01]: doing something
-
Example for ticket bug:
fix[WW-01]: doing something
-
build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm) -
ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs) -
docs: Documentation only changes -
feat: A new feature -
fix: A bug fix -
perf: A code change that improves performance -
refactor: A code change that neither fixes a bug nor adds a feature -
style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) -
test: Adding missing tests or correcting existing tests

- Master: Main branch representing the stable, production-ready version.
- Hotfix: Used for urgent bug fixes in the production environment.
- Release: Prepares for a new release with final testing and adjustments.
- Dev: Integration branch for ongoing development and feature testing.
- Feature: Created for developing specific features or user stories.
- Receive task.
- Make sure the dev branch is always the latest compared to the remote repo.
- Checkout branch feature from dev.
- After completing, create pull request to dev branch.
- Feature only branched from dev.
- Only merge feature into dev.
- Always make sure dev is newest before checking out a new feature branch.