Git
v1.0.0
Reviews git practices — commit message quality, branch naming, merge strategy, and secret prevention. Poor git hygiene creates archaeology problems: future developers cannot understand why changes were made, and leaked secrets require expensive credential rotation.
Quality(7)
Never Commit Build Artifacts or Dependencies
Keep generated output and installed dependencies out of version control by listing them in .gitignore.
Never Force-Push Shared or Protected Branches
Avoid force-pushing branches others build on; rewriting shared history destroys collaborators' work.
Reference the Issue or Ticket
Link commits and pull requests to their tracking issue or ticket so changes stay traceable to their why.
Architecture(4)
Keep Branches Short-Lived and Updated
Keep feature branches small and short-lived, rebasing or merging from the base branch often to avoid drift and painful conflicts.
Open Small, Reviewable Pull Requests
Scope each pull request to one logical change so reviewers can understand it quickly and catch defects.
Keep History Linear with Squash or Rebase
Prefer squash or rebase merges (per team policy) to keep main history linear and easy to read, bisect, and revert.
Automate Git checks on every PR
BeforeMerge scans your pull requests against all 12 Git rules automatically. Get actionable feedback before code ships.