commitlint icon indicating copy to clipboard operation
commitlint copied to clipboard

When the commit-msg hook fail (found problems in the message), how to get this message to retry the commit and fixing the error in the editor

Open MiniSuperDev opened this issue 10 months ago • 0 comments

commit-msg

#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm exec commitlint --edit $1

For example, when I commit and it fails, I don't want to rewrite all, there is a way to retry and open this message in the editor to fix the errors?

I currently using @commitlint/cz-commitlint

MiniSuperDev avatar Aug 20 '23 23:08 MiniSuperDev