Skip to content

Commit 2dd7630

Browse files
committed
chore: update Readme with pre-commit skip option
Signed-off-by: Maryam Tahhan <mtahhan@redhat.com>
1 parent b4c2b49 commit 2dd7630

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ cluster to be used for development or integration tests. It is also used in
1212
- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/)
1313
- [kind](https://kind.sigs.k8s.io/docs/user/quick-start/#installing-from-release-binaries)
1414
- [Git](https://git-scm.com/)
15+
- OPTIONAL: [pre-commit](https://pre-commit.com/)
1516

1617
Please install the same version of `kubectl` and `kind` as Github-hosted runner.
1718

@@ -136,3 +137,11 @@ To run pre-commit manually
136137
```bash
137138
pre-commit run --all-files
138139
```
140+
141+
To skip pre-commit checks, use the `--no-verify` flag when committing changes
142+
143+
```bash
144+
git commit -m "test" --no-verify
145+
[precommit-shellcheck-mardown 89ed1adc] test
146+
1 file changed, 1 insertion(+), 1 deletion(-)
147+
```

0 commit comments

Comments
 (0)