tommarshall / git-good-commit

Git hook to help you write good commit messages, with no external dependencies.
MIT License
195 stars 33 forks source link

Ignore autosquash prefixes in subject line validations #4

Closed tommarshall closed 7 years ago

tommarshall commented 7 years ago

git-commit uses fixup! and squash! prefixes on the subject line for the --fixup <commit> and --squash <commit> arguments.

git-good-commit should ignore the fixup! and squash! prefixes when validating: