Code Branching Policy
Code Branching Diagram
master
|
- next
|
--- next_aaaa
| |
| --- issuenn
|
--- next_bbbb
| |
| --- issuemm
| --- issuexx
|
--- next_cccc
...
Policy
master/mainonly ever contains the version that is currently in productionOnly @mferrare can promote code into
masterand in accordance with Promoting Code into Productionnextbranch is created frommaster. This contains the next version to be promoted into productionOnly @mferrare can promote code into
nextand in accordance with [Promoting Code into Production](/guides/promoting-code-into-productionnext_aaa,next_bbbbetc are working branches for each team member.aaaa,bbbbshould be the GitHub usernames of each team member- These are working branches. Each team member can commit changes freely to their own working branch.
- Team member may also commit changes to other team members' working branches (but please consult with your team member first!)
issuemm,issuennare optional but recommended.mm,nnetc are issue numbers as recorded in GitHub.While team members could work directly on their
next_aaaabranch, it's recommended that team members create additional branches under their 'next branch` and work on issues there. This makes it clearer to everyone which issues are being worked on by which team member.