1.3 KiB
1.3 KiB
Git Workflow
Commit Message Format
<type>(<scope>): <description>
<optional body>
Types: feat, fix, refactor, docs, test, chore, perf, ci Scopes: frontend, backend, remotion, infra, shared (or omit for cross-cutting)
Examples:
feat(frontend): add transcription progress bar to ActionPanelfix(backend): prevent duplicate job creation in tasks servicerefactor(remotion): extract caption animation into reusable springchore(infra): update Docker Compose PostgreSQL to 16
Branch Naming
<type>/<short-description>
Examples: feat/caption-styles, fix/upload-mime-validation, refactor/fsd-media-module
Pull Request Process
- Run verification before creating PR (see
verification.mdrule) - Use
git diff main...HEADto see all changes from branch point - Summarize ALL commits (not just the latest) in PR description
- Include test plan with specific scenarios
- Push with
-uflag for new branches
Monorepo Considerations
- Commits should touch ONE subproject when possible
- Cross-service changes (e.g., new API endpoint + frontend consumer) go in separate commits within the same PR
- Migration commits go BEFORE the code that uses them
- Never commit
.env, credentials, or lock files across subprojects