Interview Prep/Git & GitHub/Branching and workflow design

What branch naming and commit conventions do you enforce and how?

BeginnerProductionBranching and workflow design
Answer

type/TICKET-123-short-description for branches, Conventional Commits for the PR title (since we squash), and a PR template. Enforcement is automated: a rule on branch names via rulesets, a PR-title lint action, and commitlint in a commit-msg hook for local feedback. Conventions that are not checked by a bot are gone in three months.

All Git & GitHub questions Roadmap: Git & GitHub

More on Branching and workflow design