Skip to content

Commit a4d4b20

Browse files
Clarify gitleaks hook manual check
1 parent 4589583 commit a4d4b20

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ To enable the hooks locally, run from the repo root:
7171
$ pre-commit install
7272
```
7373

74-
To test the Gitleaks hook manually:
74+
To run the Gitleaks hook manually against staged changes:
7575

7676
```sh
77-
$ pre-commit run gitleaks --all-files
77+
$ pre-commit run gitleaks
7878
```
7979

8080
If needed, bypass with `SKIP=gitleaks git commit ...` or `git commit --no-verify`.

0 commit comments

Comments
 (0)