2022-01-19 01:30:33 -03:00
|
|
|
# core-validate-commit
|
|
|
|
|
|
|
|
> Validate commit messages for Node.js core.
|
|
|
|
> More information: <https://github.com/nodejs/core-validate-commit>.
|
|
|
|
|
|
|
|
- Validate the current commit:
|
|
|
|
|
|
|
|
`core-validate-commit`
|
|
|
|
|
|
|
|
- Validate a specific commit:
|
|
|
|
|
|
|
|
`core-validate-commit {{commit_hash}}`
|
|
|
|
|
|
|
|
- Validate a range of commits:
|
|
|
|
|
|
|
|
`git rev-list {{commit_hash}}..HEAD | xargs core-validate-commit`
|
|
|
|
|
|
|
|
- List all validation rules:
|
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`core-validate-commit {{[-l|--list]}}`
|
2022-01-19 01:30:33 -03:00
|
|
|
|
|
|
|
- List all valid Node.js subsystems:
|
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`core-validate-commit {{[-ls|--list-subsystem]}}`
|
2022-01-19 01:30:33 -03:00
|
|
|
|
|
|
|
- Validate the current commit formatting the output in tap format:
|
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`core-validate-commit {{[-t|--tap]}}`
|
2022-01-19 01:30:33 -03:00
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`core-validate-commit {{[-h|--help]}}`
|