-
-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathusage.txt
28 lines (18 loc) · 1.02 KB
/
usage.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
core-validate-commit - Validate the commit message for a particular commit in node core
usage: core-validate-commit [options] [sha[, sha]]
options:
-h, --help show help and usage
-v, --version show version
-V, --validate-metadata validate PR-URL and reviewers (on by default)
-t, --tap output in tap format
-l, --list list rules and their descriptions
-ls --list-subsystems list the available subsystems
examples:
Validate a single sha:
$ core-validate-commit 64c87e2cf4bdac6cdea302d5a5ead36c56f81c65
Validate from a specific sha to HEAD:
$ git rev-list 287bdab..HEAD | xargs core-validate-commit
Passing a url to Github's PR commit list API:
$ core-validate-commit https://api.github.com/repos/nodejs/node/pulls/7957/commits
Passing a url to a specific sha on github:
$ core-validate-commit https://api.github.com/repos/nodejs/node/git/commits/9e9d499b8be8ffc6050db25129b042507d7b4b02