alliance-boreale/docs/engineering/git-conventions.md
Dan Allaire 303dbedcdd
Some checks are pending
CI / yaml-lint (push) Waiting to run
CI / ssot-export (push) Waiting to run
CI / tests (push) Waiting to run
CI / docs (push) Waiting to run
docs(collab): conventions git, PR template, issue templates, CODEOWNERS
2025-10-26 10:56:03 -04:00

29 lines
937 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Conventions Git — Alliance Boréale
## Branches
- `{type}/{scope}-{description}`
- *kebab-case*, ASCII simple, 5060 caractères max
- Durée de vie courte; suppression après merge
- Pas de commits directement sur `main` (branches protégées)
## Types (rappel)
feat, fix, docs, ci, refactor, perf, test, chore, security, hotfix, release
## Commits
- Titre ≤ 72 chars
- Corps : *motivation, contexte, liens, breaking changes*
- `revert:` autorisé (réf. au commit original)
## Rebase / Merge
- Préférez **Squash & Merge** (historique lisible)
- Rebase interactif autorisé avant PR pour nettoyer
## Tags / Releases (optionnel)
- SemVer : `vX.Y.Z`
- Changelog généré depuis Conventional Commits (outil libre au choix)
## Hooks (optionnel)
- `pre-push` : validation nom de branche & scan rapide
- `prepare-commit-msg` : pré-remplir le modèle de commit
Voir `scripts/check_branch.sh` et `templates/.gitmessage.txt`.