-
Notifications
You must be signed in to change notification settings - Fork 3
git commit message convention
ghdrako edited this page Sep 2, 2022
·
1 revision
https://www.conventionalcommits.org/en/v1.0.0/
<type>[optional !][optional scope]: <description>
[optional body]
[optional footer(s)]
Example
feat: allow user to keep logged in
fix: messages are now serialized correctly
feat(api)!: removed the old way users are handled
ci(deployment): the application will now be deployed on nonlive as well
Use git hooks to enforce Conventional Commits
mkdir /.githooks touch /.githooks/commit-msg chmod +x .githooks/commit-msg git config core.hooksPath .githooks
Test