LinuxCommandLibrary

core-validate-commit

Validate commit messages for Node.js core.

TLDR

Validate the current commit

$ core-validate-commit
copy


Validate a specific commit
$ core-validate-commit [commit_hash]
copy


Validate a range of commits
$ git rev-list [commit_hash]..HEAD | xargs core-validate-commit
copy


List all validation rules
$ core-validate-commit --list
copy


List all valid Node.js subsystems
$ core-validate-commit --list-subsystem
copy


Validate the current commit formatting the output in tap format
$ core-validate-commit --tap
copy


Display help
$ core-validate-commit --help
copy

Copied to clipboard