Branching strategy and development workflow for restarters.net.
| Branch | Purpose |
|---|---|
develop |
Integration branch — all feature work targets this |
master |
Production-ready; always deployable |
production |
CI deploy trigger — merge master → production to ship |
- Branch off
develop:git checkout develop git pull git checkout -b DOT-1234_short-description
- Keep the branch up to date: merge
developin regularly to avoid large divergence. - Push and open a pull request against
develop. - Code review before merge.
Branch naming: use the issue ID (GitHub or Jira) followed by an underscore and a short description, e.g. DOT-1346_safari-timepicker.
External contributors should fork the repository and open a pull request from their fork.
- Branch off
master(notdevelop):git checkout master git pull git checkout -b hotfix/short-description
- Fix, test, PR against
master. - After merge, immediately merge
master → developto keep branches in sync. - Deploy: merge
master → productionand push (seedocs/fly-deployment.md).
See docs/fly-deployment.md for full deployment instructions.
The short version:
git checkout production
git merge master
git push
# CircleCI auto-deploys to restarters.netNever deploy
developormasterdirectly to therestartersFly app. Always go via theproductionbranch.