Closed
Description
Hi,
I have added a valid commit message generated through commitizen,
git commit -am "docs(gitignore): :art: added linters and pre-commit hooks"
but in pre-commit hook, it is getting failed. I have checked the code, instead of a commit message, the entire file has been posted as the commit message.
commit validation: failed!
please enter a commit message in the commitizen format.
commit: # Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o
*.a
*.so
# Folders
_obj
_test
# Architecture specific extensions/prefixes
*.[568vq]
*.cgo1.go
*.cgo2.c
_cgo_defun.c
_cgo_gotypes.go
_cgo_export.*
_testmain.go
*.exe
.idea/
*.iml
mockdata-*.csv
tmp
.vscode/
# Binary
genie-subscription
debug
# Log files
*.log
creds/*
# Configuration
conf/conf.prod.env
conf/conf.dev.env
main
.pre-commit-config.yaml
.golangci.yaml
pattern: (build|ci|docs|feat|fix|perf|refactor|style|test|chore|revert|bump)(\(\S+\))?:\s.*
Version:
# - repo: https://github.com/commitizen-tools/commitizen
# rev: v1.18.3
# hooks:
# - id: commitizen
Metadata
Metadata
Assignees
Labels
No labels