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.
More on Branching and workflow design
How would you choose a branching strategy for a team of 40 engineers shipping a SaaS product several times a day?IntermediateWhen is GitFlow still the right choice in 2026?IntermediateHow do you support multiple released versions (1.x, 2.x, 3.x) without chaos?AdvancedHow do feature flags change your merge and release process?IntermediateSquash, merge commit or rebase: what do you set as the allowed method on production repos and why?IntermediateDesign a branching and release process for a monorepo with 15 services deployed independently.Advanced