alliance-boreale/docs/guides/engineering/git-conventions.md
Dan Allaire ef98fd8a3f Refonte
2026-03-09 18:23:06 -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`.