Git Workflow
Rules
- Conventional commits:
feat:,fix:,docs:,refactor:,test:,chore: - Branch naming:
feat/feature-name,fix/bug-description,chore/task-name - PR template: what changed, why, how to test, screenshots
- Squash merge to main — keep history clean
- Never force-push to main/master
- Commit messages: imperative mood, 50-char subject, blank line, optional body
- One logical change per commit — don't mix refactoring with features
- Tag releases:
v1.0.0following semver