-
Notifications
You must be signed in to change notification settings - Fork 0
Git Workflow & Commit Policy
This document defines the branching strategy and commit conventions for the Interzone Editions website repository. Its goal is to keep the project clear, maintainable, and collaborative, while remaining simple enough for a small team.
We use two long-living branches:
- Represents the live website
- Must always be stable and deployable
- Direct commits to
prodare not allowed - Updated only via merges from
dev
- Main working branch
- All features, fixes, and improvements are developed here
- Can be unstable during active development
- Regularly merged into
prodwhen a release is ready
Commits should be:
- Small and focused
- Readable by humans
- Explicit about intent
A commit should ideally:
- Do one thing
- Explain what was done, not just how
We use a conventional-style commit format:
<type>: <short description>
- Use present tense (“add”, not “added”)
- Keep the first line under ~72 characters
- No period at the end of the subject line
New functionality or user-facing feature.
feat: add event archive page
feat: implement newsletter signup form
Bug fixes or corrections.
fix: correct mobile navigation overflow
fix: resolve broken links on artists page
Changes that do not affect behavior: formatting, spacing, CSS-only changes.
style: adjust typography for event listings
style: rework color contrast for accessibility
Code restructuring without changing functionality.
refactor: simplify navigation component logic
refactor: reorganize CSS variables
Performance improvements.
perf: optimize image loading on homepage
perf: reduce bundle size by removing unused scripts
Documentation changes only.
docs: add commit policy to wiki
docs: update README installation steps
Maintenance tasks, tooling, config, dependencies.
chore: update build dependencies
chore: configure linting rules
Content-only updates (texts, bios, event descriptions).
content: update artist bio for Emna Maaref
content: add September event descriptions
- When to Commit
- Commit early and often
- Don’t wait until everything is “perfect”
- Avoid massive “everything changed” commits
Bad:
fix: stuff
Good:
fix: correct date formatting on event cards
- All work is merged into
dev -
devis merged intoprod:- when a release is ready
- after basic testing (manual or automated)
- Merge commits should be clear and intentional
Example merge message:
feat: implement home page carousel to production
This policy exists to:
- Preserve clarity
- Respect contributors’ time
- Make Interzone Editions’ digital presence sustainable
If in doubt: keep it simple, readable, and intentional.