pm4ai

Git

Git workflow and commit conventions

Git commit + push conventions.

MUST

  • Commit frequently; push logical groups. Why: small auditable units, easy revert.
  • Commit subject type: descriptionfix|feat|docs|chore|refactor|test. Why: conventional-commit parse.
  • Land on main directly or via a short-lived feature branch + PR. Why: trunk-based, single main.

NEVER

  • Mention AI / Claude / coauthor / “generated with” in commits. Cost: AI attribution unwanted in history.
  • Maintain long-lived develop / release-* / feature/* branch hierarchies. Cost: divergent long branches rot and conflict against trunk.

On this page