Git / GitHub Style Guide

Follow the established branch and contribution workflow. Keep each change focused, preserve history and review the staged diff.

  • Use established feature branches and meaningful commit messages. Do not commit generated caches, secrets or unrelated local changes.
  • Update tests and docs alongside behavior changes; preserve attribution and SPDX licensing. Follow the repository’s CLA or DCO.
  • Open a pull request with scope, validation evidence and known limitations. Wait for required checks and approvals.
  • Use the default branch for published documentation and CLA agreements. Store signature records on the dedicated cla-signatures branch. Never rewrite signature history.
  • Keep release, deployment and publication separate from routine CI. Do not force-push, delete branches or modify remotes without authorization.
git status --short
git diff --cached --check
git diff --cached

Run configured pre-commit and validation checks. Fix failed checks rather than bypassing them.