Open dksifoua opened 2 years ago
The commit message should be structured as follows:
<type>(<optional scope>): <subject> <optional body> <optional footer>
feat
fix
refactor
perf
style
tests
docs
build
Ops
chore
Setup a git commit message convention
The commit message should be structured as follows:
Types
feat
: Commits, that adds a new featurefix
: Commits, that fixes a bugrefactor
: Commits, that rewrite/restructure your code, however does not change any behaviourperf
: Commits are special specialrefactor
commits, that improve performancestyle
: Commits, that do not affect the meaning (white-space, formatting, missing semi-colons, etc)tests
: Commits, that add missing tests or correcting existing testsdocs
: Commits, that affect documentation onlybuild
: Commits, that affect build components like build tool, ci pipeline, dependencies, project version, ...Ops
: Commits, that affect operational components like infrastructure, deployment, backup, recovery, ...chore
: Miscellaneous commits e.g. modifying .gitignore