-
Notifications
You must be signed in to change notification settings - Fork 0
Branching and Merging
Harry Guthrie edited this page Jul 1, 2019
·
1 revision
Basically we have to branches which will always exist. master and develop. These branches represent prod and beta respectively.
When creating new work items you branch from develop into a feature branch. The name of the feature branch should be something in the format of feature-[SOME DESCRIPTIVE NAME HERE].
When you finish a feature (and have added tests) you should:
- Pull the current head (the latest version) of the
developbranch into the feature branch - Ensure the feature branch still works with the latest develop
- Submit a merge request to develop (for someone else to test and approve), ensure there are details on the description of the merge request
- Merge request should be accepted by someone else after testing
Ensure a github issue exists for the bug, note this should only be for bugs which exist in develop. Once the issue is created and is descriptive, branch from develop with the branch name issue-[ISSUE NUMBER].
- Pull the current head (the latest version) of the
developbranch into the issuebranch - Ensure the issue branch still works with the latest develop
- Submit a merge request to develop (for someone else to test and approve), ensure the merge request mentions
Closes #[Issue number]you don't need to add more details unless something differs from the details on the issue - Merge request should be accepted by someone else after testing