pr_check: fix README
This commit is contained in:
parent
2e0e5a5477
commit
741aaf9a38
17
dist/tools/pr_check/README.md
vendored
17
dist/tools/pr_check/README.md
vendored
@ -1,18 +1,17 @@
|
|||||||
# About
|
# About
|
||||||
|
|
||||||
This script checks if a Pull Request needs squashing or if it is waiting for
|
This script checks if a Pull Request needs squashing.
|
||||||
another Pull Request.
|
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./check.sh [<master branch>]
|
./check.sh [<branch>]
|
||||||
```
|
```
|
||||||
|
|
||||||
The optional `<master branch>` parameter refers to the branch the pull request's
|
The `<branch>` parameter refers to the branch the pull request's branch branched
|
||||||
branch branched from. The script will output all commits marked as squashable
|
from. The script will output all commits marked as squashable from `HEAD` to the
|
||||||
from `HEAD` to the merge-base with `<master branch>`. The default for
|
merge-base with `<branch>`. The default for `<branch>` is `master`.
|
||||||
`<master branch>` is `master`.
|
|
||||||
|
|
||||||
A commit is marked as squashable if it contains the keywords SQUASH or FIX
|
A commit is marked as squashable if it contains the keywords SQUASH, FIX or
|
||||||
(case insensitive) within the first five characters of it's subject title.
|
REMOVE ME (case insensitive) within the first five characters of it's subject
|
||||||
|
title.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user