Rules Hub
Coding Rules Library
← Back to all rules
Rule priority, scope & exceptions
Use this to align rules with the senior-level structure (P0/P1/P2, scope, exceptions/tradeoffs).
fullstack ruleP2universalStack: git
gitdocumentationcliconventions
Use git switch -c to create branches in docs and scripts
Prefer the modern `git switch -c <branch>` over `git checkout -b` in documentation and tooling for clearer intent.
PR: hegnar-zephr-components · org-mining-hist-2026-06Created: Jun 19, 2026
Bad example
Old codebash
| 1 | git checkout -b v3.5.2 |
Explanation (EN)
Objašnjenje (HR)
Good example
New codebash
| 1 | git switch -c v3.5.2 |
Explanation (EN)
Objašnjenje (HR)