The following main branches exist on the repo for their specified purpose:
dev // for developing e.g. features, fixes etc.
staging // to demo proposals before merging into master
master // for deploying to production
Local branches should be created of the dev branch and then pushed according to the instructions in Development Lifecycle
Once branched in dev have been approved, they can be merged onto staging so that the client can approve the changes.
Once staging branches have been reviewed, they can be merged into the production branch on master
The master branch will be deployed via AWS at https://www.glowbal.us.to
Each branch you create must be prefixed with its relevant branching group:
feature // for features
bug // for bugs/hotfixes
experimental // for code not part of a release or sprint
chore // for code maintanence
style // for specifically style related changes
refactor // for refactoring
test // for testing
docs // for documentation
Use the following structure
{branching-group}/{short-description}
feature/add-user-routes
The following conventions are used for commit messages:
Start with emoji to identify type (use gitmoji as reference)
:bug: Fix barcode submission bugStart with a verb
e.g. add, fix, update
✅ 🔥 Remove unused /test route
❌ 🔥 Unused /test route removed
Space after emoji
✅ 💄 Make buttons rounded
❌ 💄Make buttons rounded
Use present tense
✅ 📝 Update deployment instructions
❌ 📝 Updated deployment instructions
Start capitalised
✅ 🐛 Fix form submission bug
❌ 🐛 fix form submission bug
Be specific
✅ 🔒 Add 2FA for users
❌ 🔒 Add security improvements