We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
messages starting on "Revert ..." should be accepted
5.0.1
The text was updated successfully, but these errors were encountered:
likely solution: .hustky/commit-msg:
#!/bin/sh . "$(dirname "$0")/_/husky.sh" INPUT_FILE=$1 START_LINE=`head -n1 $INPUT_FILE` PATTERN="^(#[[:digit:]]|Merge|Revert)" if ! [[ "$START_LINE" =~ $PATTERN ]] ; then echo "Bad commit message, see example: \"#431 commit message\", you provided: \"$START_LINE\"" exit 1 fi
Sorry, something went wrong.
#936: allow "Revert ..." commit messages
5ab2c35
Merge pull request #937 from Accenture/bugfix/936-commit-msg-hook-doe…
6250cf9
…s-not-accept-standard-revert-message bugfix/#936: allow "Revert ..." commit messages
Closed by #937.
Successfully merging a pull request may close this issue.
Is there an existing issue for this?
Current Behavior
Expected Behavior
messages starting on "Revert ..." should be accepted
Version
5.0.1
The text was updated successfully, but these errors were encountered: