Standard approach for creating, maintaining, and merging branches in the HMIS repository.
- Use issue-centric names:
<issueNumber>-short-description(e.g.12875-implement-full-lab-workflow). - Keep names lowercase with hyphens; avoid personal initials or ambiguous abbreviations.
- Reserve long-running environment branches (
ruhunu-dev,rh-stg, etc.) for deployment automation only.
- Create branches from the active development base (
developmentunless the issue specifies otherwise). - Sync with upstream frequently:
git fetch+git rebase origin/developmentbefore pushing. - Keep commits focused and include auto-close keywords (
Closes #12345) in the final merge commit or PR description. - Update the GitHub project board status when moving between stages (In Progress → Ready for Review → Done).
- Target the appropriate environment branch (usually
development; use client-specific branches only when instructed). - Use the HMIS PR template and link the issue with an auto-close keyword.
- Request review from the domain owner and follow the Commit Conventions.
- Ensure persistence safeguards (no hardcoded JNDI values) before marking ready for merge.
- Delete the feature branch locally and remotely to keep the namespace tidy.
- Confirm the project board item moved to the next column.
- Coordinate with QA if deployment is required (see QA Deployment Guide).
For GitHub CLI assistance, refer to GH CLI Usage.