-
Notifications
You must be signed in to change notification settings - Fork 6
Branching Strategy
Sergii Diachenko edited this page Feb 3, 2018
·
2 revisions
This page describes basic process of working with branches. This guide is more like recommendation than a must have but following it will help manage repository easier.
Branching strategy has been selected to meet following goals:
- Reviewing code at task level - we don't have any dedicated code review tool so we use pull requests to share feedback.
- Keep master stable: we merge into master only reviewed and verified features.
- For each story create a branch with corresponding name.
- For each task create a branch with corresponding name. (can be omitted if story has no tasks)
- When work on task complete PR to story branch should be created. Tasks should be small so PR can be reviewed faster.
- After PR approved branch is merged and deleted.
- When all tasks are complete PR to master is created.
- After PR is approved it is merged and story branch is deleted.
- Create a branch.
- After defect is fixed PR is created to merge into master
- When PR is approved it is merged and branch is deleted.
Delete branch after it is merged to keep repository clean